We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking changes we should include in the next major, v11
Minimum node version: v14 Minimum TS version: 4.0 (from https://github.com/DefinitelyTyped/DefinitelyTyped#support-window)
ts.createIncrementalProgram
ts.createEmitAndSemanticDiagnosticsBuilderProgram
ts-node/src/index.ts
Lines 988 to 989 in 1cc91d9
Lines 1023 to 1025 in 1cc91d9
create()
register()
enableExperimentalEsmLoaderInterop()
ts-script
ts-node-script
ts-node/dist/bin
main()
@internal
nodeEval
context: Context
nodeEval(code: string, context: any
nodeEval(code: string, context: Context
createEvalAwarePartialHost
Service
evalAwarePartialHost
compiler
transpiler
compiler: "augmented-ts"
-p
-e
-P
TSError
compile()
cwd
experimentalResolver
nodenext
commonjs
next
The text was updated successfully, but these errors were encountered:
--project
ts-node -p 123
-pe 123
No branches or pull requests
Breaking changes we should include in the next major, v11
Implemented in #1760
Minimum node version: v14
Minimum TS version: 4.0 (from https://github.com/DefinitelyTyped/DefinitelyTyped#support-window)
ts.createIncrementalProgram
fallback tots.createEmitAndSemanticDiagnosticsBuilderProgram
ts-node/src/index.ts
Lines 988 to 989 in 1cc91d9
ts-node/src/index.ts
Lines 1023 to 1025 in 1cc91d9
create()
; only inregister()
enableExperimentalEsmLoaderInterop()
on by defaultts-script
entrypoint; replaced byts-node-script
ts-node/dist/bin
main()
export@internal
nodeEval
function signature to acceptcontext: Context
(See TODO in the code)nodeEval(code: string, context: any
tonodeEval(code: string, context: Context
Still to do
createEvalAwarePartialHost
API surfaceService
API to allow setting overridden file contentsevalAwarePartialHost
but leave a pass-through shim for backwards compatibilitycompiler
andtranspiler
options relative to the tsconfig that declared them. In "extends" chains, this may be differentcompiler: "augmented-ts"
-p
without-e
; exit with an error if you try to pass-p
without-e
; suggest you maybe meant-P
to specify a config file?TSError
, create and throw error in lowest point of ts-node callstack #1785compile()
APIs, since will be returning an error description instead of throwing an errorcwd
option, or at least stop resolving entrypoint relative to it #1834experimentalResolver
; convert it to a non-experimental, opt-out flagnodenext
, notcommonjs
next
callbackThe text was updated successfully, but these errors were encountered: