diff --git a/src/content/docs/en/4x/starter/generator.mdx b/src/content/docs/en/4x/starter/generator.mdx index 4f22665f43..872e394467 100644 --- a/src/content/docs/en/4x/starter/generator.mdx +++ b/src/content/docs/en/4x/starter/generator.mdx @@ -93,6 +93,22 @@ PS> $env:DEBUG='myapp:*'; npm start Then, load `http://localhost:3000/` in your browser to access the app. +## TypeScript + +The `express-generator` package creates a JavaScript application skeleton. +It does not currently include an option to generate a TypeScript application. + +If you want to start with TypeScript, you can add TypeScript to the generated app after creating it, or use a community generator. + + + +This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team. +Listing here does not constitute an endorsement or recommendation from the Expressjs project team. + + + +- [express-generator-typescript](https://github.com/seanpmaxwell/express-generator-typescript) - Community generator for Express applications written in 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..872e394467 100644 --- a/src/content/docs/en/5x/starter/generator.mdx +++ b/src/content/docs/en/5x/starter/generator.mdx @@ -93,6 +93,22 @@ PS> $env:DEBUG='myapp:*'; npm start Then, load `http://localhost:3000/` in your browser to access the app. +## TypeScript + +The `express-generator` package creates a JavaScript application skeleton. +It does not currently include an option to generate a TypeScript application. + +If you want to start with TypeScript, you can add TypeScript to the generated app after creating it, or use a community generator. + + + +This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team. +Listing here does not constitute an endorsement or recommendation from the Expressjs project team. + + + +- [express-generator-typescript](https://github.com/seanpmaxwell/express-generator-typescript) - Community generator for Express applications written in TypeScript + The generated app has the following directory structure: ```bash