Reusable TypeScript configuration files to extend from.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
src
.editorconfig
.eslintrc.json
.gitignore
.travis.yml
browser.json
common.json
node.json
package-lock.json
package.json
readme.md
tsconfig.json
universal.json

readme.md

tsconfigs

Greenkeeper badge Build Status Badge: npm version badge for package tsconfigs

Reusable TypeScript configuration files to extend from.

Strictly following semantic versioning. So no worries.

Contents

  • common
    • universal
    • browser
    • node

Usage

In your tsconfig.json:

{
  // For the `universal` flavor
  "extends": "./node_modules/tsconfigs/universal",

  "compilerOptions": {
    // Override whatever you like
    "declaration": false
  }
}

Why we cannot extend from "tsconfigs/[flavor]"

Because Node.js resolution for extends was not implemented. Show your enthusiasm at TypeScript issue #18865.