You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean checkout, running tsc. I also get this error when I install with npm into another project.
typescript/Range.ts:10:14 - error TS2417: Class static side 'typeof Range' incorrectly extends base class static side 'typeof Seq'.
Types of property 'from' are incompatible.
Type '(lengthOrStart: number, end?: number, step?: number) => Range' is not assignable to type '<A>(...vals: any[]) => Seq<A>'.
Type 'Range' is not assignable to type 'Seq<A>'.
Types of property 'collectFirst' are incompatible.
Type '<B>(filter: (value: number) => boolean) => (mapper: (value: number) => B) => Option<B>' is not assignable to type '<B>(filter: (value: A) => boolean) => (mapper: (value: A) => B) => Option<B>'.
Types of parameters 'filter' and 'filter' are incompatible.
Types of parameters 'value' and 'value' are incompatible.
Type 'number' is not assignable to type 'A'.
10 export class Range extends Seq<number> {
~~~~~
Found 1 error.
Typescript Version 3.4.5.
The text was updated successfully, but these errors were encountered:
Clean checkout, running
tsc
. I also get this error when I install with npm into another project.Typescript Version 3.4.5.
The text was updated successfully, but these errors were encountered: