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.
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.
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
tsconfig.json
- Added declaration option.package.json
- Added '@mui/system
', '@mui/types
'Relation issues
43
46
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.