prettier not working for typescript code example
Example: prettier not working with tsx
Add this to your "settings.json" file:
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Add this to your "settings.json" file:
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},