TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Drop unnecessary type arguments in the isolated declarations quick fix

Open blickly opened this issue 6 months ago • 2 comments

Drops unnecessary type arguments in the isolated declarations quick fix by repeatedly trying to resolve a resulting reference type with a prefix of the full type arguments until finding the minimal number of arguments that work.

Fixes #58449

(I'm sure that the code at present isn't using the proper APIs, but I'd appreciate feedback)

blickly avatar Aug 17 '24 03:08 blickly