export * statements in d.ts can not be use to prompt types of default export. #285
Closed
3 tasks done
Labels
bug
Something isn't working
Describe the bug
I'm facing a problem that I have these lines in my
src/index.ts
and I use
insertTypesEntry
functionality to generatedist/index.d.ts
as follows:But when I publish these code to npm and use it, type prompts were gone.
Reproduction
https://stackblitz.com/edit/vitejs-vite-xwwwbi?file=test.ts
Steps to reproduce
just run
yarn build
and seetest.ts
.System Info
Validations
The text was updated successfully, but these errors were encountered: