Error: Typescript Feature 1.5. Current language level is 1.4

后端 未结 6 1514
不知归路
不知归路 2021-02-04 23:08

I am working in the context of Visual Studio 2015 (with Resharper), and am referencing a TypeScript definitions file for NodeJS. I have 3 other VS projects that are using

6条回答
  •  青春惊慌失措
    2021-02-04 23:45

    It's a ReSharper setting. From the menu bar in Visual Studio, click ResharperOptionsCode EditingTypeScriptInspections, then change the TypeScript language level to the relevant value.

提交回复
热议问题