Missing type definitions in build output
Closed this issue · 0 comments
omarluq commented
Describe the bug
The build process is generating .d.ts
files for .ts
files but is ignoring standalone .d.ts
files. This results in missing type definitions in the output directory.
To Reproduce
Run yarn && yarn run build
in root and see generated dist/
directory
Expected behavior
The build process should generate .d.ts
files for both .ts
files and standalone .d.ts
files. For example, given the following source structure:
src/
├── store/
│ ├── store.ts
│ └── someTypeInterface.d.ts
The expected output structure is:
dist/
├── store/
│ ├── store.d.ts
│ └── someTypeInterface.d.ts