viclafouch / mui-chips-input

📌 A chips input designed for MUI (Material ui) V6
https://viclafouch.github.io/mui-chips-input/
MIT License
83 stars 19 forks source link

index.d.ts empty issues fix #47

Closed ynng3 closed 2 weeks ago

ynng3 commented 3 weeks ago

Fix empty index.d.ts when installing modules

I have fixed an issue where index.d.ts was not being built properly during the build process.

By setting declaration: true in the tsconfig and adding modules with indirect dependencies to package.json, I ensured that index.d.ts is built correctly.

As a regular user of your module, having to use // @ts-ignore due to the index.d.ts issue was quite inconvenient. That's why I decided to contribute to this fix.

Change files

Relation issues

Build File

Download 'dist.zip'

You can apply it to your project without cloning and building it by overwriting the compressed file in the ./node_modules/mui-chips-input directory installed in your project.

viclafouch commented 2 weeks ago

Hello ! Thanks a lot for your help @ynng3 !

Checking that asap !