drizzle-orm
drizzle-orm copied to clipboard
[BUG]: Property 'getSQL' is missing in type 'PgDelete<TTable, TQueryResult, TReturning>' but required in type 'SQLWrapper'
What version of drizzle-orm are you using?
0.26.5
What version of drizzle-kit are you using?
No response
Describe the Bug
dev: ../../node_modules/drizzle-orm/db.d-89e25221.d.ts(521,15): error TS2515: Non-abstract class 'PgSelect<TTableName, TSelection, TSelectMode, TNullabilityMap>' does not implement inherited abstract member 'getSQL' from class 'PgSelectQueryBuilder<PgSelectHKT, TTableName, TSelection, TSelectMode, TNullabilityMap>'.
dev: ../../node_modules/drizzle-orm/db.d-89e25221.d.ts(654,15): error TS2420: Class 'PgDelete<TTable, TQueryResult, TReturning>' incorrectly implements interface 'SQLWrapper'.
dev: Property 'getSQL' is missing in type 'PgDelete<TTable, TQueryResult, TReturning>' but required in type 'SQLWrapper'.
Expected behavior
No response
Environment & setup
Typescript version: 5.0.4
Set tsconfig.json compilerOptions.skipLibCheck to true to suppress error