will ts-node resolve export patterns with multiple specifiers? #1877
Unanswered
iambumblehead
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello, I'm updating a package that does currently work with ts-node using this simple export pattern BUT...
When updating the export pattern to define multiple specifiers, ts-node does not resolve these and, instead, this error appears "error TS2307: Cannot find module 'esmock/strict' or its corresponding type declarations."
Would someone tell me what I'm doing wrong and suggest ways to solve this problem? A PR with the failing ts-node tests is here iambumblehead/esmock#139 a related "announcement" about typescript and esm export patterns is here https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#package-json-exports-imports-and-self-referencing
I am a novice typescript user --thank you in advance for any help or advice you might give
Beta Was this translation helpful? Give feedback.
All reactions