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
When running npx tsc --noEmit I'm getting this error:
node_modules/vega-lite/build/src/channeldef.d.ts:63:66 - error TS2344: Type 'T' does not satisfy the constraint 'SignalRef | ExprRef | FieldDef<any, any> | DatumDef<string, SignalRef | DateTime | ExprRef | PrimitiveValue> | ValueDef<...>'.
Type 'T' is not assignable to type 'DatumDef<string, SignalRef | DateTime | ExprRef | PrimitiveValue>'.
63 export declare function isConditionalParameter<T>(c: Conditional<T>): c is ConditionalParameter<T>;
~
node_modules/vega-lite/build/src/channeldef.d.ts:63:48
63 export declare function isConditionalParameter<T>(c: Conditional<T>): c is ConditionalParameter<T>;
~
This type parameter might need an `extends DatumDef<string, SignalRef | DateTime | ExprRef | PrimitiveValue>` constraint.
node_modules/vega-lite/build/src/channeldef.d.ts:63:48
63 export declare function isConditionalParameter<T>(c: Conditional<T>): c is ConditionalParameter<T>;
~
This type parameter might need an `extends SignalRef | ExprRef | FieldDef<any, any> | DatumDef<string, SignalRef | DateTime | ExprRef | PrimitiveValue> | ValueDef<...>` constraint.
node_modules/vega-lite/build/src/channeldef.d.ts:63:97 - error TS2344: Type 'T' does not satisfy the constraint 'SignalRef | ExprRef | FieldDef<any, any> | DatumDef<string, SignalRef | DateTime | ExprRef | PrimitiveValue> | ValueDef<...>'.
63 export declare function isConditionalParameter<T>(c: Conditional<T>): c is ConditionalParameter<T>;
~
node_modules/vega-lite/build/src/channeldef.d.ts:63:48
63 export declare function isConditionalParameter<T>(c: Conditional<T>): c is ConditionalParameter<T>;
~
This type parameter might need an `extends SignalRef | ExprRef | FieldDef<any, any> | DatumDef<string, SignalRef | DateTime | ExprRef | PrimitiveValue> | ValueDef<...>` constraint.
Found 2 errors in the same file, starting at: node_modules/vega-lite/build/src/channeldef.d.ts:63
Please:
When running
npx tsc --noEmit
I'm getting this error:My tsconfig:
(notice "strict: true", without it compiles fine)
The text was updated successfully, but these errors were encountered: