import tsutils from 'tsutils' // no typescript error
tsutils.isTypeAliasDeclaration
at runtime:
tsutils_1.default.isTypeAliasDeclaration;
^
TypeError: Cannot read properties of undefined (reading 'isTypeAliasDeclaration')
this seems to only be an issue with the compiled *.d.ts files, it doesn't happen with the source code. i'm not really sure how this project is built because npm run compile doesn't seem to output anything so it's difficult for me to minify the issue
at runtime:
this seems to only be an issue with the compiled
*.d.tsfiles, it doesn't happen with the source code. i'm not really sure how this project is built becausenpm run compiledoesn't seem to output anything so it's difficult for me to minify the issue