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
type
JavaScript and TypeScript Nightly version: v5.3.20230923
Hi there, an issue occurs when both using <> and as casting.
<>
as
Code
Using <> casting with newline after <:
<
export function main() { const type = ``; const variable = < 'dog' | 'cat'>type; return; }
The remaining lines Highlights weirdly, or even stops:
Using as casting with already declared variable:
export function main() { const type = ``; let variable = ``; variable = type as 'dog' | 'cat'; return; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
JavaScript and TypeScript Nightly version: v5.3.20230923
Hi there, an issue occurs when both using
<>
andas
casting.Code
Using
<>
casting with newline after<
:The remaining lines Highlights weirdly, or even stops:
Using
as
casting with already declared variable:The text was updated successfully, but these errors were encountered: