charlieroberts / genish.js

a js library to compile optimized audio callbacks inspired by gen~
http://www.charlie-roberts.com/genish
MIT License
119 stars 14 forks source link

npm: Could not find a declaration file for module 'genish.js' #24

Closed michaelpalumbo closed 2 years ago

michaelpalumbo commented 2 years ago

I've installed genish.js using node package manager. When importing genish into my script, I receive:

Could not find a declaration file for module 'genish.js'. 
'D:/github/mischmasch/node_modules/genish.js/js/index.js' implicitly has an 'any' type. 
Try `npm i --save-dev @types/genish.js` if it exists or add a new declaration (.d.ts) file 
containing `declare module 'genish.js';
michaelpalumbo commented 2 years ago

nevermind. I downloaded /dist/gen.lib.js

charlieroberts commented 2 years ago

yeah, that looks like a typescript error… whicj i know nothing about :)

michaelpalumbo commented 2 years ago

I see. I also don't know anything about typescript. fortunately once i installed it the way i was supposed to it worked fine ;)