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
This expression is not constructable.
Type 'typeof import("/path/to/my-project/node_modules/.pnpm/[email protected]/node_modules/iovalkey/built/index")' has no construct signatures.ts(2351)
The issue is caused by a lack of .js extensions in the .d.ts files:
export{default}from"./Redis";// should be:export{default}from"./Redis.js";
The text was updated successfully, but these errors were encountered:
Trying to construct a
Valkey
instance like so:…gives the following TypeScript error:
The issue is caused by a lack of
.js
extensions in the.d.ts
files:The text was updated successfully, but these errors were encountered: