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
I'm getting the following type error when trying to use this package as:
import serializeError from "serialize-error";
const serializedError = serializeError(error);
This expression is not callable.
Type 'typeof import("/Users/farah/{PATH}/node_modules/serialize-error/index")' has no call signatures.ts(2349)
Cannot invoke an expression whose type lacks a call signature. Type 'typeof "/Users/farah/{PATH}/node_modules/serialize-error/index"' has no compatible call signatures.ts(234
I'm getting the following type error when trying to use this package as:
tsconfig.js
Have tried both v6 and v7.
The text was updated successfully, but these errors were encountered: