I have to edit dist/backlog.d.ts by myself if I change a type in src/. There's some problems:
Risks of forgetting or making a mistake to edit dist/backlog.d.ts.
Annoying.
Goal
No manually editing dist/backlog.d.ts.
Idea
npm run build-tsd creates declaration files in dist/src/*.d.ts. I want to use the files instead of dist/backlog.d.ts. Can "types": "dist/src/index.d.ts" in package.json do it?
Problem
I have to edit
dist/backlog.d.ts
by myself if I change a type insrc/
. There's some problems:dist/backlog.d.ts
.Goal
No manually editing
dist/backlog.d.ts
.Idea
npm run build-tsd
creates declaration files indist/src/*.d.ts
. I want to use the files instead ofdist/backlog.d.ts
. Can"types": "dist/src/index.d.ts"
inpackage.json
do it?