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
satisfies
When using the new satisfies TypeScript operator, esbuild fails as it doesn't understand the syntax.
Documentation for operator: https://devblogs.microsoft.com/typescript/announcing-typescript-4-9-beta/#the-satisfies-operator
const myObject = { foo: 1, bar: 2 } satisfies Record<string, number>;
errors: [ { detail: undefined, id: '', location: [Object], notes: [], pluginName: '', text: 'Expected ";" but found "satisfies"' } ], warnings: []
esbuild succeeds without error (ignoring the satisfies operator)
The text was updated successfully, but these errors were encountered:
TypeScript has removed features in the beta period before, so I’m waiting until it’s part of a real release.
Closing as a duplicate of #2509.
Sorry, something went wrong.
No branches or pull requests
When using the new satisfies TypeScript operator, esbuild fails as it doesn't understand the syntax.
Documentation for operator: https://devblogs.microsoft.com/typescript/announcing-typescript-4-9-beta/#the-satisfies-operator
code
error
expected behaviour
esbuild succeeds without error (ignoring the satisfies operator)
The text was updated successfully, but these errors were encountered: