Skip to content

docs: add TypeScript section to express-generator page#2346

Closed
i-afaqrashid wants to merge 1 commit into
expressjs:mainfrom
i-afaqrashid:docs/generator-typescript-section
Closed

docs: add TypeScript section to express-generator page#2346
i-afaqrashid wants to merge 1 commit into
expressjs:mainfrom
i-afaqrashid:docs/generator-typescript-section

Conversation

@i-afaqrashid
Copy link
Copy Markdown

Fixes expressjs/express#7231.

Summary

The Express application generator page does not mention TypeScript. Adds a short TypeScript subsection to the end of the generator docs (both 4x and 5x), noting that the official express-generator outputs a JavaScript skeleton and pointing to express-generator-typescript as a community alternative, exactly as suggested in the issue.

Scoped narrowly:

  • No endorsement of the community project beyond "see community alternatives such as…", to avoid implying Express officially blesses any third-party generator.
  • Same text applied to src/content/docs/en/4x/starter/generator.mdx and src/content/docs/en/5x/starter/generator.mdx so both versions stay in sync.

Checks run locally

  • npm run check (format:check + lint) — clean
  • npm run build — 1222 pages built, no errors

Happy to expand the section (e.g. a small tsconfig.json or App.ts snippet) if maintainers prefer a heavier addition.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 23, 2026

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit 219144f
🔍 Latest deploy log https://app.netlify.com/projects/expressjscom-preview/deploys/6a116ec6acd38100085a1b6d
😎 Deploy Preview https://deploy-preview-2346--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (🟢 up 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@i-afaqrashid
Copy link
Copy Markdown
Author

Apologies, I missed the existing #2311 covering the same scope. Closing in favor of that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Add instructions for TypeScript

1 participant