Hi all, I just installed the 3.5.0 release along with latest typescript and angular (using ncu -a to update my package-json).
Since then I just can’t build and get the following errors
[07:55:14] typescript: node_modules/ionic-angular/components/nav/nav.d.ts, line: 47
Class ‘Nav’ incorrectly extends base class ‘NavControllerBase’. Types of property ‘goToRoot’ are
incompatible. Type ‘(opts: NavOptions) => Promise’ is not assignable to type ‘(opts: NavOptions) =>
Promise’. Type ‘Promise’ is not assignable to type ‘Promise’. Type ‘any’ is not
assignable to type ‘never’.
build is crashing inside ionic-angular for several other reasons:
- typescript: node_modules/ionic-angular/components/tabs/tab.d.ts, line: 121 same problem with any / never
- typescript: node_modules/rxjs/Subject.d.ts, line: 16
Class ‘Subject’ incorrectly extends base class ‘Observable’. Types of property ‘lift’ are
incompatible. Type ‘(operator: Operator<T, R>) => Observable’ is not assignable to type ‘(operator:
Operator<T, R>) => Observable’. Type ‘Observable’ is not assignable to type ‘Observable’. Type 'T’
is not assignable to type ‘R’.
so my guess is that I have probably one package or another too recent, like typescript or angular, and I’ll dig this.
If anyone knows what’s going on, thanks in advance for helping !