Fixes and improves TypeScript types.
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 '<pkg.name>';
tsconfig.json
:
"compilerOptions": {
"include": [
"src",
],
},
src/custom.d.ts
:
import '@total-typescript/ts-reset/dist/filter-boolean';
import '<pkg.name>/dist/Fetch';
import '<pkg.name>/dist/Boolean';