We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unknown
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
isolatedDeclaerations autofix, drop, missing, unknown, type parameter, type argument, generics, template type
https://www.typescriptlang.org/dev/bug-workbench/?isolatedDeclarations=true&ts=5.7.3#code/PTAEAEEsGcHsBsCGAXApgEwCKoMZIE4qSwB20AXKMvgK6oBQIEi88sA7gFIWgBmL0Bk3DpcBIqUrU69RmHC9I8VCUQBbVFNTRkAOmTR6y5KAAeoSjRIBrEhxIBuWalMAHWPhM5SO0NFAAvKAkqOygAMqoyAAUANqmALoAlA5AA
let x : unknown; export const s = new Set([x]);
Applying the quick fix gives incorrect code with unknown missing:
let x : unknown; export const s: Set = new Set([x]);
let x : unknown; export const s: Set<unknown> = new Set([x]);
I haven't checked yet, but I'd guess this to be related to #59665
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
π Search Terms
isolatedDeclaerations autofix, drop, missing, unknown, type parameter, type argument, generics, template type
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/dev/bug-workbench/?isolatedDeclarations=true&ts=5.7.3#code/PTAEAEEsGcHsBsCGAXApgEwCKoMZIE4qSwB20AXKMvgK6oBQIEi88sA7gFIWgBmL0Bk3DpcBIqUrU69RmHC9I8VCUQBbVFNTRkAOmTR6y5KAAeoSjRIBrEhxIBuWalMAHWPhM5SO0NFAAvKAkqOygAMqoyAAUANqmALoAlA5AA
π» Code
π Actual behavior
Applying the quick fix gives incorrect code with
unknown
missing:π Expected behavior
Additional information about the issue
I haven't checked yet, but I'd guess this to be related to #59665
The text was updated successfully, but these errors were encountered: