diff --git a/lib/model.d.ts b/lib/model.d.ts index f472bf3..0b8d3a4 100644 --- a/lib/model.d.ts +++ b/lib/model.d.ts @@ -1643,22 +1643,22 @@ export abstract class Model { */ public static findById( this: { new (): M } & typeof Model, - identifier?: number | string, + identifier?: number | string | Buffer, options?: FindOptions ): Promise public static findById( this: { new (): M } & typeof Model, - identifier: number | string, + identifier: number | string | Buffer, options: NonNullFindOptions ): Promise public static findByPrimary( this: { new (): M } & typeof Model, - identifier?: number | string, + identifier?: number | string | Buffer, options?: FindOptions ): Promise public static findByPrimary( this: { new (): M } & typeof Model, - identifier: number | string, + identifier: number | string | Buffer, options: NonNullFindOptions ): Promise