File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export declare class Model<T> extends Hooks {
132132 * @return Model A reference to the model, with the scope(s) applied. Calling scope again on the returned
133133 * model will clear the previous scope.
134134 */
135- static scope ( options ?: string | string [ ] | ScopeOptions | WhereOptions ) : typeof Model ;
135+ static scope ( options ?: string | string [ ] | ScopeOptions | WhereOptions < any > ) : typeof Model ;
136136
137137 /**
138138 * Search for multiple instances.
@@ -329,14 +329,14 @@ export declare class Model<T> extends Hooks {
329329 */
330330 static findOrCreate < T extends Model < T > > ( options : IFindOrInitializeOptions < any > ) : Promise < [ T , boolean ] > ;
331331 static findOrCreate < T extends Model < T > , A > ( options : IFindOrInitializeOptions < A > ) : Promise < [ T , boolean ] > ;
332-
332+
333333 /**
334334 * A more performant findOrCreate that will not work under a transaction (at least not in postgres)
335335 * Will execute a find call, if empty then attempt to create, if unique constraint then attempt to find again
336336 */
337337 static findCreateFind < T extends Model < T > > ( options : IFindCreateFindOptions < any > ) : Promise < [ T , boolean ] > ;
338338 static findCreateFind < T extends Model < T > , A > ( options : IFindCreateFindOptions < A > ) : Promise < [ T , boolean ] > ;
339-
339+
340340 /**
341341 * Insert or update a single row. An update will be executed if a row which matches the supplied values on
342342 * either the primary key or a unique key is found. Note that the unique index must be defined in your
You can’t perform that action at this time.
0 commit comments