We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
spread operator, incorrect type check information,
Playground link with relevant code
interface ListItem { name: string age: number } function test(): ListItem[] { const a = [{ name: "name", age: 18 }] return { ...a } }
I hope that the type information can be matched correctly, and the corresponding type error message will be givenοΌthanks
The text was updated successfully, but these errors were encountered:
Looks like a duplicate of #35778.
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
π Search Terms
spread operator, incorrect type check information,
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
π Expected behavior
I hope that the type information can be matched correctly, and the corresponding type error message will be givenοΌthanks
The text was updated successfully, but these errors were encountered: