Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.05 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.05 KB

Shared typescript configuration

The purpose of the typescript is to add strong typing to javascript.

This configuration targets lib typescript packages.


Contents

Setup

  • Add workspace reference to @muravjev/configs-ts and its peers dependencies:

    pnpm add -w @muravjev/configs-ts typescript @types/node
  • Add typescript configuration file

    // packages/baz/tsconfig.json
    
    {
      "extends": "@muravjev/configs-ts",
      "compilerOptions": {
        "baseUrl": "src",
        "rootDir": "src"
      },
      "include": ["src"]
    }

Donation

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!

License

MIT © Sergey Muravjev


⬅ Back