File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,16 @@ By intentionally not supporting syntaxes that require JavaScript code
70
70
generation, and by replacing inline types with whitespace, Node.js can run
71
71
TypeScript code without the need for source maps.
72
72
73
- Type stripping works with most versions of TypeScript
74
- but we recommend version 5.7 or newer with the following ` tsconfig.json ` settings:
73
+ Type stripping is compatible with most versions of TypeScript
74
+ but we recommend version 5.8 or newer with the following ` tsconfig.json ` settings:
75
75
76
76
``` json
77
77
{
78
78
"compilerOptions" : {
79
79
"target" : " esnext" ,
80
80
"module" : " nodenext" ,
81
- "allowImportingTsExtensions" : true ,
82
81
"rewriteRelativeImportExtensions" : true ,
82
+ "erasableSyntaxOnly" : true ,
83
83
"verbatimModuleSyntax" : true
84
84
}
85
85
}
You can’t perform that action at this time.
0 commit comments