Skip to content

ArthurKa/ts-reset

Repository files navigation

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

Fixes and improves TypeScript types.

Installation

@arthurka/ts-reset is available via NPM:

$ npm i -D @arthurka/[email protected]

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published