I have:
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "commonjs",
...
}
}
and try to run a file using that feature and it fails.
This is for my team transitioning from JS to TS so I want to keep it as simple for them as possible (I control the environment so the behavior of import dr from 'domready'; is consistent.
Does ts-node honor this flag?
(I also notice module: system doesn't work either)
I have:
and try to run a file using that feature and it fails.
This is for my team transitioning from JS to TS so I want to keep it as simple for them as possible (I control the environment so the behavior of
import dr from 'domready';is consistent.Does ts-node honor this flag?
(I also notice
module: systemdoesn't work either)