-
./tsconfig.json: {
"compilerOptions": {
...omitted irrelevant config...
"isolatedModules": true
},
"include": [
"src"
],
"references": [
{
"path": "./scripts/tsconfig.json"
}
]
} ./scripts/tsconfig.json: {
"extends": "../tsconfig.json",
"compilerOptions": {
"isolatedModules": false
}
}
When I run
The question is, why? Why doesn't it respect the fact that Adding a |
Beta Was this translation helpful? Give feedback.
Answered by
cspotcode
May 7, 2021
Replies: 1 comment
-
Use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cspotcode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
ts-node-script
, which enables--script-mode
by default. This behavior will become the default forts-node
in the next release.