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