New
v10.9.0
Added
--projectaccepts path to a directory containing atsconfig.json(#1829, #1830) @cspotcode- previously it required an explicit filename
- Added helpful error message when swc version is too old to support our configuration (#1802) @cspotcode
- Added
experimentalTsImportSpecifiersoption which allows using voluntary.tsfile extensions in import specifiers (undocumented except for API docs) (#1815) @cspotcode
Fixed
- Fixed bug where
child_process.fork()would erroneously execute the parent's entrypoint script, not the intended child script (#1812, #1814) @devversion - Fixed support for jsx modes
"react-jsx"and"react-jsxdev"in swc transpiler (#1800, #1802) @cspotcode - Fixed support for import assertions in swc transpiler (#1817, #1802) @cspotcode
- Fixed bug where calling
repl.evalCode()with code not ending in a newline would not update the typechecker accordingly (#1764, #1824) @cspotcode
https://github.com/TypeStrong/ts-node/compare/v10.8.2...v10.9.0 https://github.com/TypeStrong/ts-node/milestone/16?closed=1