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
Seems like filterBindingPatternInitializersAndRenamings in declarations.ts does not call checkEntityNameVisibility to mark the import as used in the declaration.
The text was updated successfully, but these errors were encountered:
π Search Terms
computed property declaration destructure binding
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/dev/bug-workbench/?lib=lib.es2015.d.ts&ts=5.1.6#code/PTAEAEBMFMGMBsCGAnRAXAlgewHYC5Q1kBXaAKBAngwCMDoBnANgrHADMN5odEBbaAVi400AB5oAdGgZlxAByzI0oYTgYqA0tACeoALygAyjr40s8ABQBKANysInbrwEEMOGGOmyMfRctAAb1BtPQBfUHZkLD5QACJJYDVRCTj7BSUVdmIcWExcUAB3DDQACwBhEXE0S2CAbVCAXQIAN0R4UlAwgkQcHWsCDWR3AHMgslBJyeRoNGJkHFA2juh7MLIgA
π» Code
π Actual behavior
In
index.d.ts
the import ofKey
is removed leading to an invalid declaration fileπ Expected behavior
In
index.d.ts
the import ofKey
should be keptAdditional information about the issue
Seems like
filterBindingPatternInitializersAndRenamings
indeclarations.ts
does not callcheckEntityNameVisibility
to mark the import as used in the declaration.The text was updated successfully, but these errors were encountered: