Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Supporttsc --build --noEmit #53979

Open
Open
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScript
@segevfiner

Description

@segevfiner

Suggestion

🔍 Search Terms

tsc --build --noEmit
build noEmit

List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.

✅ Viability Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
  • This feature would agree with the rest ofTypeScript's Design Goals.

⭐ Suggestion

Allowtsc --build --noEmit, the relevant types can be emitted to thetsbuildinfo for incremental building. This is very useful to allow type checking only for projects using project references and working with a bundler. e.g. Acreate-vue project, which currently has to resort to hackery such asvue-tsc --noEmit -p tsconfig.vitest.json --composite false which is not as accurate as type checking each project individually.

📃 Motivating Example

tsc --build --noEmit is now supported, allowing to only run type checking for projects using project references that don't also build types usingtsc.

💻 Use Cases

Type checking only, for projects using other build tools thantsc but still using project references for each of configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp