nosferatu500 / theme-file-explorer

A file explorer theme for React Sortable Tree
https://www.npmjs.com/package/@nosferatu500/theme-file-explorer
MIT License
7 stars 3 forks source link

Missing Type declaration for theme-file-explorer #2

Open slastrina opened 2 years ago

slastrina commented 2 years ago

Hi, this theme is throwing linter errors in typescript

TS7016: Could not find a declaration file for module '@nosferatu500/theme-file-explorer'.

node_modules/@nosferatu500/theme-file-explorer/dist/main.js' implicitly has an 'any' type.   Try npm i --save-dev @types/nosferatu500__theme-file-explorer if it exists or add a new declaration (.d.ts) file containing declare module '@nosferatu500/theme-file-explorer';

Would it be possible to specify the types for this theme.

Appreciate your effort in maintaining react sortable tree

nosferatu500 commented 2 years ago

I have some plans for this, but I'm not sure when I can finish with this. I just don't have enough time for everything.

slastrina commented 2 years ago

No rush, im bypassing it currently with the module declaration, ill have a crack at this as well if i have time and raise a PR if i get there.

Cheers Mate