GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: recommend `erasableSyntaxOnly` in ts docs · nodejs/node@d2f49e7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • typescript.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/typescript.md‎

Copy file name to clipboardExpand all lines: doc/api/typescript.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ generation, and by replacing inline types with whitespace, Node.js can run
7676
TypeScript code without the need for source maps.
7777

7878
Type stripping is compatible with most versions of TypeScript
79-
but we recommend version 5.7 or newer with the following `tsconfig.json` settings:
79+
but we recommend version 5.8 or newer with the following `tsconfig.json` settings:
8080

8181
```json
8282
{
8383
"compilerOptions": {
8484
"target": "esnext",
8585
"module": "nodenext",
86-
"allowImportingTsExtensions": true,
8786
"rewriteRelativeImportExtensions": true,
87+
"erasableSyntaxOnly": true,
8888
"verbatimModuleSyntax": true
8989
}
9090
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.