From 2d616af046fb067e042871d4f7cd76a66e7f2faf Mon Sep 17 00:00:00 2001 From: joaquimpeixoto Date: Wed, 27 May 2026 15:28:01 +0100 Subject: [PATCH] docs: mention TypeScript generator option --- src/content/docs/en/4x/starter/generator.mdx | 5 +++++ src/content/docs/en/5x/starter/generator.mdx | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/content/docs/en/4x/starter/generator.mdx b/src/content/docs/en/4x/starter/generator.mdx index 4f22665f43..efb10367ad 100644 --- a/src/content/docs/en/4x/starter/generator.mdx +++ b/src/content/docs/en/4x/starter/generator.mdx @@ -93,6 +93,11 @@ PS> $env:DEBUG='myapp:*'; npm start Then, load `http://localhost:3000/` in your browser to access the app. +## TypeScript apps + +The official `express-generator` package creates a JavaScript application skeleton. +For a TypeScript starter, use a community generator such as [`express-generator-typescript`](https://github.com/seanpmaxwell/express-generator-typescript). + The generated app has the following directory structure: ```bash diff --git a/src/content/docs/en/5x/starter/generator.mdx b/src/content/docs/en/5x/starter/generator.mdx index 4f22665f43..efb10367ad 100644 --- a/src/content/docs/en/5x/starter/generator.mdx +++ b/src/content/docs/en/5x/starter/generator.mdx @@ -93,6 +93,11 @@ PS> $env:DEBUG='myapp:*'; npm start Then, load `http://localhost:3000/` in your browser to access the app. +## TypeScript apps + +The official `express-generator` package creates a JavaScript application skeleton. +For a TypeScript starter, use a community generator such as [`express-generator-typescript`](https://github.com/seanpmaxwell/express-generator-typescript). + The generated app has the following directory structure: ```bash