@arthurka/ts-reset
v1.13.0
Published
[![All dependencies](https://img.shields.io/librariesio/release/npm/@arthurka/ts-reset/1.13.0?style=flat-square "All dependencies of @arthurka/[email protected]")](https://libraries.io/npm/@arthurka/ts-reset/1.13.0) [![Reported vulnerabilities](https://img.
Downloads
102
Readme
@arthurka/[email protected]
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.