We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d1f2af commit b5aab78Copy full SHA for b5aab78
packages/drizzle-driver/src/utils/schema.ts
@@ -143,7 +143,7 @@ export class DrizzleAppSchema<
143
constructor(drizzleSchema: T) {
144
super(toPowerSyncTables(drizzleSchema));
145
// This is just used for typing
146
- this.types = {} as any;
+ this.types = {} as Expand<TablesFromSchemaEntries<T>>;
147
}
148
149
types: Expand<TablesFromSchemaEntries<T>>;
0 commit comments