Skip to content

Support js/jsx/cjs/mjs extensions #80

@mjewell

Description

@mjewell

If your tsconfig has allowJs / checkJs true then we should be able to run tsc-files against js/jsx/cjs/mjs files too. This line filters only for ts/tsx so if you run something like tsc-files a.ts b.js then you get an error error TS5042: Option 'project' cannot be mixed with source files on a command line.. because it puts a.ts into the temporary tsconfig but forwards b.js as a command line arg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions