-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type error with Typescript 4.8 #8465
Comments
Is this the same as #8454? |
Yes it is - but using compiler option is not an option. The code really requires the fixed mentioned in #8454 log:
The reason is the type constraint on |
I see. If |
Sure I can open a PR. But I would advice keeping it separated from #5477. |
* Constrain `isConditionalParameter` type parameter Fixes #8465 * Lint the code
* Constrain `isConditionalParameter` type parameter Fixes vega#8465 * Lint the code
The following template parameter is throwing an error with TypeScript 4.8 because the template of
Conditional
type is restricted to a subsetConditional<CD extends FieldDef<any> | DatumDef | ValueDef<any> | ExprRef | SignalRef>
vega-lite/src/channeldef.ts
Line 158 in c97e30a
The error raised is
Seen in https://github.com/jupyterlab/jupyterlab/actions/runs/3217544851/jobs/5260639447
The text was updated successfully, but these errors were encountered: