You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using import { storageFactory } from "storage-factory";, Typescript gives me this error:
Could not find a declaration file for module 'storage-factory'. 'my-project/node_modules/storage-factory/lib/esm/index.js' implicitly has an 'any' type.
There are types at 'my-project/node_modules/storage-factory/lib/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'storage-factory' library may need to update its package.json or typings. ts(7016)
I think this is because package.json needs to include types explicitly on the ESM export, like this?
using
import { storageFactory } from "storage-factory";
, Typescript gives me this error:I think this is because package.json needs to include types explicitly on the ESM export, like this?
The text was updated successfully, but these errors were encountered: