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
{{ message }}
Repository navigation
Impossible to exclude original declaration file from module #21189
TypeScript Version: 2.6.2
It is impossible to exclude or override d.ts files that are located in root of npm module.
For instance I have dependency on module named mymodule.
It contains declaration file in ./node_modules/mymodule/index.d.ts which is poorly made.
I have custom written declaration for it in ./@types/mymodule/index.d.ts
There're defined typeRoots in compilerOptions in ./tsconfig.json
Activity
metsawyr commentedon Jan 17, 2018
Andy (Andrewkraft) (@Andy-MS), works just fine. Thank you.