Code
React TypeScript (.tsx)
- Compile .tsx files that are used in the React front-end.
yarn
yarn build
- Open index.html in browser
open -a "Google Chrome" index.html
Non-React TypeScript (.ts)
- Compile .ts files in the ./src/examples directory that are used for learning purposes only.
yarn build-examples
Linting
- Indentation in VS Code
- Right click and choose "Format selection".
Resources