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
I'm getting this error when running a fairly basic tsconfig.json and tsc
node_modules/rrule/dist/es6/rruleset.d.ts:48:5 - error TS2416: Property 'clone' in type 'RRuleSet' is not assignable to the same property in base type 'RRule'.
Type '() => RRuleSet' is not assignable to type '() => RRule'.
Type 'RRuleSet' is not assignable to type 'RRule'.
Types have separate declarations of a private property '_iter'.
I dug into the types and you can
remove private _iter; from dist/rruleset.d.ts
replace private _iter; with protected _iter: any; in dist/rrule.d.ts
The text was updated successfully, but these errors were encountered:
thomasvidas
changed the title
Compilation error when using Typescript 3.0.1
Compilation error when using Typescript 3.0.1 and rrule 2.3.2
Aug 8, 2018
I'm getting this error when running a fairly basic
tsconfig.json
andtsc
I dug into the types and you can
private _iter;
fromdist/rruleset.d.ts
private _iter;
withprotected _iter: any;
indist/rrule.d.ts
The text was updated successfully, but these errors were encountered: