Repository navigation
ts-node not giving error when using named import from a module which has some error #1935
Replies: 1 comment
|
I reproduced this with ts-node 10.9.2 and TypeScript 5.9.3: running npx tsc --noEmit --project tsconfig.jsonThat reports Define/export If you use |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I was using ts-node to test a server, when I came across a specific issue. A minimal reproduction of the problem is shown.
Now in
module.tsValueInterface was never defined (or maybe was defined somewhere else but not imported), but ts-node does not give the expected "cannot find name" error.Is there a way to fix this?
All reactions