Releases: TypeStrong/ts-node
Releases · TypeStrong/ts-node
Improved Error Messaging
Changed
- Switched from language services to program in an attempt to output all diagnostics ahead of time (this can probably be optimised somehow, but it has issues with
noEmitOnError
in dependencies, for example) - Move TypeScript CLI error message formatting into an error class method
Update `tsconfig`
Fixed
- Updated
tsconfig
to remove assumption abouttsconfig.json
TypeStrong Release
Changed
- Updated references from personal to @TypeStrong
Fix Type Info Crash
Fixed
- Fix potential crash when using
.type
with invalid identifiers
Fix File Version
Fixed
- Source file version failed to bump to
0.2.1
Type Check in the REPL
Added
- Add a new command,
.type
, which can view the type information for any expression in the current context
Rename `ts-node`
Changed
- Remove
configFile
option in favor ofproject
option fortsc
parity - Rename
ignoreAll
todisableWarnings
Deprecate `typescript-node`
Project renamed to ts-node
for consistency.
REPL Context and `ignoreAll`
Added
- Add the
ignoreAll
flag to ignore all TypeScript warnings and just run code
Changed
- The REPL is now running in it's own context (E.g.
useGlobal: false
) which allows commands like.clear
to work as expected
REPL State
Changed
- Lots of hacks implemented to maintain state with TypeScript over multiple executions - basically comes down to using
diff
and evaluating new lines added to JavaScript output