Skip to content

allowNonTsExtensions should also honour files without extensions #1593

Closed
@jrieken

Description

@jrieken

Set the allowNonTsExtensions to true and have a file without an extension. Pass it to the compiler and you will see a compiler error like cannot find file <name>.ts. This is a problem when an editor has an unsaved buffer which mime type is known to be TypeScript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions