Skip to content

Allow transformers to run without type-checking #41986

Open
@pauldraper

Description

@pauldraper

Search Terms

transformer, type check, transpileModule

Suggestion

Run transformers, but skip type checking.

Use Cases

The majority of compile times are type checking.

Some projects (e.g. Angular stylesheet integration) require transformers to run.

I would like to skip type checking, ala transpileModule, but still run the transformer.

angular/angular-cli#19587

Examples

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, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

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