Skip to content

Commit

Permalink
Merge b3abc63 into 3ad9fac
Browse files Browse the repository at this point in the history
  • Loading branch information
gcandal committed Mar 3, 2021
2 parents 3ad9fac + b3abc63 commit c56bd53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/data/model.d.ts
Expand Up @@ -17,8 +17,8 @@ export interface QueryParams {

export declare class Model {
static niw<T = Model>(this: { new (): T }): T;
static find<T = Model>(this: { new (): T }, params?: QueryParams): T[];
static get<T = Model>(this: { new (): T }, params?: QueryParams): T;
static find<T = Model>(this: { new (): T }, params?: QueryParams): Promise<T[]>;
static get<T = Model>(this: { new (): T }, params?: QueryParams): Promise<T>;

constructor(options?: { fill?: boolean });
apply<T = Model>(this: T, model: Record<string, unknown>): Promise<T>;
Expand Down

0 comments on commit c56bd53

Please sign in to comment.