Visual Studio Code - Adjust import quotation setting

后端 未结 10 1171
广开言路
广开言路 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:22

    You can also configure the below line in your vscode user settings to adjust this setting.

    "prettier.singleQuote": true
    

提交回复
热议问题