typescript double quotes vs single quotes code example
Example: typescript single or double quotes
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!