Skip to content

Fallback to ts.transpileModule whenever we get "Emit skipped" #1345

Closed
@cspotcode

Description

@cspotcode

Should we fallback to ts.transpileModule whenever we get "Emit skipped"?

Seems like a bit of a hack, but it means certain situations "just work." If the file is statically imported, then it's already being typechecked. The only limitation is that transpileOnly needs isolatedModules, so if projects rely on rare things like inlined const enumeration values, that'll fail. But otherwise seems like a win.

Would fix #693

Metadata

Metadata

Assignees

No one assigned

    Labels

    researchNeeds design work, investigation, or prototyping. Implementation uncertain.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions