You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was writing a small tool that declares the type of all functions, paramters and variables if it is anything other than the any type.
But an Error is thrown because it expects an Identifier when calling setType on a VariableDeclaration or on a Parameter.
Hello,
i was writing a small tool that declares the type of all functions, paramters and variables if it is anything other than the
any
type.But an Error is thrown because it expects an Identifier when calling setType on a VariableDeclaration or on a Parameter.
Version: 12.2.0
and
Expected behavior
I expect the setType function to also be able to set the type of ArrayBindingPatterns or ObjectBindingPatterns as it is valid TypeScript code.
I also wanted to thank you for this amazing tool. I am a big fan of your work!
The text was updated successfully, but these errors were encountered: