PyCharm 2019.1 doesn't recognize typescript.

I'm using PyCharm 2019.1 professional.

Project is created using "new project" of type "Angular CLI".

The IDE still applies all javascript checking and generates alot of errors.

How to disable all javascript support for typescript files?

The file in screenshot is copy-paste from typescript tutorial.

P.S. the errors goes both from JSHint (with can be disabled) and also from IDE itself, like "types are not supported in this javascript version"

1 comment

Screenshot shows that `*.ts` extension is assigned to Javascript file type in Preferences | Editor | File Types;pleasemake sure to re-assigned it to Typescript:

I'd also suggest disabling JShint support in Preferences | Languages & Frameworks | JavaScript | Code Quality Tools | JSHint


Please sign in to leave a comment.