-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The command typings install
is executed when installing the package. This causes builds to fail as typings is listed under "devDepenencies"
and is therefore not installed.
If this was fixed by moving typings to "dependencies"
, it will likely cause issues because the typings for es6-shim modify the global namespace and will collide with declarations provided by TypeScript itself such as when specifying the lib option in tsconfig.compilerOptions
.
Since es6-shim
is not a dependency, its typings should also not be required. In general, polyfill typings, including those provided by npm:@types packages should be avoided where at all possible in favour of the tsconfig.compilerOptions.lib
amiraliakbari
Metadata
Metadata
Assignees
Labels
No labels