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.
Set the
allowNonTsExtensionstotrueand have a file without an extension. Pass it to the compiler and you will see a compiler error likecannot find file <name>.ts. This is a problem when an editor has an unsaved buffer which mime type is known to be TypeScript.