Skip to content

un-ts/types

Repository files navigation

@rxts/types

GitHub Actions Codacy Grade type-coverage GitHub release David Dev

Conventional Commits Renovate enabled JavaScript Style Guide Code Style: Prettier changesets

TypeScript Type Definitions same as DefinitelyTyped.

Install

# yarn
yarn add -D @d-ts/core

# npm
npm i -D @d-ts/core

Usage

Link to @types Automatically

# yarn
yarn add -D @d-ts/bin

# npm
npm i -D @d-ts/bin
// package.json
{
  "scripts": {
    "postinstall": "t"
  }
}

Prefer Configuring Manually

// tsconfig.json
{
  "compilerOptions": {
    "baseUrl": ".",
    "typeRoots": ["./node_modules/@types", "./node_modules/@d-ts"]
  }
}

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © JounQin@1stG.me