Typescript: unexpected reserved word in PHPStorm
问题 I´m trying to get a simple TypeScript file working in PHPStorm, but sadly there seem to be some misconfiguration by default as the class keyword is not recognized properly This is my TypeScript file: class Test{ } And this is the error I´m facing: And this is my FieWatcher configuration of TypeScript How can I get TypeScript working? 回答1: The Program options should not be node.exe (that would mean you are trying to typescript code as javascript). It needs to be tsc or node tsc (that means you