We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code
This code won't compile
export type Errors<D> = { readonly [K in (keyof D | 'base')]?: string[] } class Model<D> { getErrors(): Errors<D> { return { base: ['some base error'] } } }
Expected behavior:
It should compile without errors
Playground
The text was updated successfully, but these errors were encountered:
Impressive, I just added that bug a day ago and you already created a PR with the fix. Thanks for your work!
Sorry, something went wrong.
weswigham
No branches or pull requests
Code
This code won't compile
Expected behavior:
It should compile without errors
Playground
The text was updated successfully, but these errors were encountered: