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 noEmitOnErrorin dependencies, for example)
- Move TypeScript CLI error message formatting into an error class method
Update `tsconfig`
Fixed
- Updated tsconfigto remove assumption abouttsconfig.json
TypeStrong Release
Changed
- Updated references from personal to @TypeStrong
Fix Type Info Crash
Fixed
- Fix potential crash when using .typewith 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 configFileoption in favor ofprojectoption fortscparity
- Rename ignoreAlltodisableWarnings
Deprecate `typescript-node`
Project renamed to ts-node for consistency.
REPL Context and `ignoreAll`
Added
- Add the ignoreAllflag 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.clearto work as expected
REPL State
Changed
- Lots of hacks implemented to maintain state with TypeScript over multiple executions - basically comes down to using diffand evaluating new lines added to JavaScript output