Cannot find name 'download' (after installing downloadjs via npm) #1380
Unanswered
joshhayles
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I'm doing a basic 'click a button to download your report' test using SvelteKit. I have it working, but vs code has 'download' underlined in squiggly red and when I hover over it, vs code says "Cannot find name 'download'".
However, like I said, that package is installed, I see it as a dependency in my package.json file.
Any ideas what I'm doing wrong?
Here's the full code for that page:
Beta Was this translation helpful? Give feedback.
All reactions