Rezi / svelte-gestures

MIT License
129 stars 4 forks source link

No type intellisense #3

Closed archimede67 closed 3 years ago

archimede67 commented 3 years ago

I am currently using svelte-gestures in a typescript project, and I do not have any sort of intellisense for its types, as my editor says that it "implicitly has an 'any' type" when importing.

I looked a bit and found that in package.json the types should be defined in dist/svelteGestures.d.ts but there is no such file in that directory.

Maybe this is why the types cannot be found?

Rezi commented 3 years ago

Sorry for inconvenience, it should be fixed now. Let me know if it works with version 1.2.2

archimede67 commented 3 years ago

It does work ! Thank you