Deno not recognizing default export from npm package 'unstorage' as a function
Hello everyone,
I am attempting to set up
When I import the driver and attempt to call it, the LSP reports that
If I invoke
Relevant
Code:
Is there a way to work around this?
I am attempting to set up
unstorage with the Deno KV driver, as per https://unstorage.unjs.io/drivers/denoWhen I import the driver and attempt to call it, the LSP reports that
denoKVdriver lacks a call signature, and type-checking also fails:If I invoke
denoKVdriver.default(), the LSP no longer reports the error, but type-checking still fails.Relevant
d.ts:Code:
deno.json for workspace member:deno.json for workspace:Is there a way to work around this?
