Skip to content

Should we generate TypeScript projects by default? #849

@haoqunjiang

Description

@haoqunjiang

Just saw this on this year's Octoverse:

Frameworks ship with TypeScript by default. Next.js 15, Astro 3, SvelteKit 2, Qwik, SolidStart, Angular 18, and Remix all generate a TypeScript codebase by default (npm create, pnpm dlx, or bunx create).

https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/#the-top-programming-languages-of-2025-typescript-jumps-to-1-while-python-takes-2:~:text=Frameworks%20ship%20with%20TypeScript%20by%20default

Should we follow the trend?

Node.js supports stripping TypeScript syntax by default since v22.18.0. Vite supports .ts out of the box. I guess the infrastructure is mostly ready.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions