Question : typescript single or double quotes
Answered by : paulo-yjl1tqmpvrf6
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!
Source : | Last Update : Fri, 28 May 21