EvoluxBR / react-smart-tabs

A tab system for React apps
MIT License
15 stars 5 forks source link

Missing .d.ts on npm #37

Open Mazuh opened 5 years ago

Mazuh commented 5 years ago

the lib itself is internally type safe with typescript but other typescript users can't use the same safety cause .d.ts is not published, it triggers a warning on compile time.

Mazuh commented 5 years ago
Could not find a declaration file for module 'react-smart-tabs'. './node_modules/react-smart-tabs/dist/bundle.js' implicitly has an 'any' type.
  Try `npm install @types/react-smart-tabs` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-smart-tabs';