Skip to content

Commit

Permalink
DEV: improve getCurrentSchema return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Brien committed Feb 6, 2024
1 parent 1010493 commit f18c30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Table.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class Table<Schema extends OneSchema = any> {
getModel<T extends ModelNames<Schema>>(name: T, options?: {nothrow?: boolean}): Model<Entity<Schema['models'][T]>>
*/

getCurrentSchema(): {}
getCurrentSchema(): OneSchema | null
groupByType(items: AnyEntity[], params?: OneParams): EntityGroup
listModels(): AnyModel[]
listTables(): string[]
Expand Down

0 comments on commit f18c30b

Please sign in to comment.