I noticed that after importing this project and compiling my (TypeScript) code into a common js module it was failing to run due to a missing dependency tslib.
If the importHelpers flag is on, these helper functions are instead imported from the tslib module. You will need to ensure that the tslib module is able to be imported at runtime. This only affects modules; global script files will not attempt to import modules.
Hello, thanks for making a nice project!
I noticed that after importing this project and compiling my (TypeScript) code into a common js module it was failing to run due to a missing dependency
tslib
.I believe the issue is related to:
https://github.com/JonathanWilbur/asn1-ts/blob/951e31b76e6a6adbbd997f73a7aebba0c1c1fd9b/tsconfig.json#L19
From the TypeScript documenation:
I believe you need to do a simple
npm i tslib
?