📌  相关文章
📜  打字稿单引号或双引号 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:29.698000             🧑  作者: Mango

代码示例1
in JS/TS single quotes are preferred because:
- single quotes makes for easier reading when marking up html strings in the typescript
- double quotes are more often escaped than single quotes in strings

note: whats most important however is consitency!