### π Search Terms isolatedDeclaerations autofix, drop, missing, unknown, type parameter, type argument, generics, template type ### π Version & Regression Information - This changed between versions 5.6 and 5.7 ### β― Playground Link https://www.typescriptlang.org/dev/bug-workbench/?isolatedDeclarations=true&ts=5.7.3#code/PTAEAEEsGcHsBsCGAXApgEwCKoMZIE4qSwB20AXKMvgK6oBQIEi88sA7gFIWgBmL0Bk3DpcBIqUrU69RmHC9I8VCUQBbVFNTRkAOmTR6y5KAAeoSjRIBrEhxIBuWalMAHWPhM5SO0NFAAvKAkqOygAMqoyAAUANqmALoAlA5AA ### π» Code ```ts let x : unknown; export const s = new Set([x]); ``` ### π Actual behavior Applying the quick fix gives incorrect code with `unknown` missing: ```ts let x : unknown; export const s: Set = new Set([x]); ``` ### π Expected behavior ```ts let x : unknown; export const s: Set<unknown> = new Set([x]); ``` ### Additional information about the issue I haven't checked yet, but I'd guess this to be related to https://github.com/microsoft/TypeScript/pull/59665