The purpose of the typescript is to add strong typing to javascript
.
This configuration targets lib react packages.
-
Add workspace reference to
@muravjev/configs-ts-react
and its peers dependencies:pnpm add -w @muravjev/configs-ts-react typescript react react-dom @types/node @types/react @types/react-dom
-
Add typescript configuration file
// packages/bar/tsconfig.json { "extends": "@muravjev/configs-ts-react", "compilerOptions": { "baseUrl": "src", "rootDir": "src" }, "include": ["src"] }
If you found this project helpful, consider
buying me a coffee, donate by paypal or just leave a star⭐
Thanks for your support, it is much appreciated!