Open jackel89 opened 3 years ago
to clarify i am trying to use the npm package in node js
Try const nerdamer = require("nerdamer/all.min")
. This was documented in the quick start section of the site but nowhere else. I'll update the documentation.
i have tried that and scoured the web for someone experiencing the same problem and a solution. this is the error in vs code:
Could not find a declaration file for module 'nerdamer/all.min'. 'C:/file/node_modules/nerdamer/all.min.js' implicitly has an 'any' type.
Try npm i --save-dev @types/nerdamer
if it exists or add a new declaration (.d.ts) file containing declare module 'nerdamer/all.min';
ts(7016)
ive also tried messing with the index and doing what this recommends to no avail
this still doesnt work can anyone help?
please can anyone help? if its a simple modification to the index.d.ts file it seems like you should be able to just give the exact example in the readme for people like me who use javascript and dont know ts or c++
i have tried every possible combination of ways to import this that i can think of trying and still cant get any functionality beyond the core.
please help