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
When compiling a project that includes postgres-migrations with target esnext configured in tsconfig.json, I get the following error:
> tsc
../node_modules/.pnpm/postgres-migrations@5.3.0/node_modules/postgres-migrations/dist/types.d.ts:50:5 - error TS2416: Property 'cause' in type 'MigrationError' is not assignable to the same property in base type 'Error'.
Type 'string' is not assignable to type 'Error'.
50 cause?: string;
~~~~~