How to disable TypeScript warnings in VSCode?

前端 未结 4 1631
别跟我提以往
别跟我提以往 2020-12-13 08:27

I don\'t use TypeScript for the time being. Only ES6 with babel.
I don\'t have installed TypeScript in node_modules.

I get a specific warning from VSCod

4条回答
  •  醉梦人生
    2020-12-13 08:59

    1. open the command palette : CTRL + SHIFT + P

    2. open the file settings.json :

    1. add these 2 lines of code:

      "typescript.validate.enable": false,
      "javascript.validate.enable": false,
      

提交回复
热议问题