Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 532 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 532 Bytes

tsconfig

Shared TypeScript config for my projects

Install

npm install --save-dev @kdt-js/tsconfig

This config requires TypeScript 5 or later.

Usage

tsconfig.json

{
    "extends": "@kdt-js/tsconfig",
    "compilerOptions": {
        // ...
    }
}
  • For Vue, extend @kdt-js/tsconfig/vue instead.

  • For building a library, using @kdt-js/tsconfig/lib and specify outDir in your tsconfig.json.