Fixes and improves TypeScript types.
@arthurka/ts-reset
is available via NPM:
$ npm i -D @arthurka/ts-reset@1.13.0
It's also recommended to install @total-typescript/ts-reset
as dev dependency.
tsconfig.json
:
"compilerOptions": {
"types": [
"@types/node",
"@total-typescript/ts-reset",
"@arthurka/ts-reset",
],
},
tsconfig.json
:
"compilerOptions": {
"include": [
"src",
],
},
src/custom.d.ts
:
import '@total-typescript/ts-reset';
import '@arthurka/ts-reset';
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';
$ npm test
Your improve suggestions and bug reports are welcome any time.