Visual Studio Code - Adjust import quotation setting

后端 未结 10 1080
广开言路
广开言路 2021-02-02 04:56

When working in TypeScript in Visual Studio Code, the import suggestion on a type (triggered by space + period) will generate an import using double quotes.

Our TypeScri

10条回答
  •  悲&欢浪女
    2021-02-02 05:41

    Above solutions did not work for me

    So here is my work around, in you use vscode, "tslint.autoFixOnSave": true in your settings.json will automatically fix these import quotations when you save the file.

提交回复
热议问题