Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 2.99 KB

README.md

File metadata and controls

86 lines (65 loc) · 2.99 KB

All dependencies Reported vulnerabilities Commits NPM-version Total downloads Developed by
Publish size Install size Minified size Minified + gzipped size

@arthurka/ts-reset@1.13.0

Fixes and improves TypeScript types.

Installation

@arthurka/ts-reset is available via NPM:

$ npm i -D @arthurka/ts-reset@1.13.0

Usage

It's also recommended to install @total-typescript/ts-reset as dev dependency.

#1 Full (recommended)

tsconfig.json:

"compilerOptions": {
  "types": [
    "@types/node",
    "@total-typescript/ts-reset",
    "@arthurka/ts-reset",
  ],
},

#2 Also full usage

tsconfig.json:

"compilerOptions": {
  "include": [
    "src",
  ],
},

src/custom.d.ts:

import '@total-typescript/ts-reset';
import '@arthurka/ts-reset';

#3 Partial usage

tsconfig.json:

"compilerOptions": {
  "include": [
    "src",
  ],
},

src/custom.d.ts:

import '@total-typescript/ts-reset/dist/filter-boolean';
import '@arthurka/ts-reset/dist/Fetch';
import '@arthurka/ts-reset/dist/Boolean';

Testing

$ npm test

Your improve suggestions and bug reports are welcome any time.