File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ export class Object extends BaseObject {
281281
282282 constructor ( className ?: string , options ?: any ) ;
283283 constructor ( attributes ?: string [ ] , options ?: any ) ;
284- static createWithoutData ( className : string , objectId : string ) : Object ;
284+ static createWithoutData < T extends Object > ( className : string , objectId : string ) : T ;
285285 static extend ( className : string , protoProps ?: any , classProps ?: any ) : any ;
286286 static fetchAll < T > ( list : Object [ ] , options ?: AuthOptions ) : Promise < T > ;
287287 static destroyAll < T > (
@@ -504,6 +504,7 @@ export class Query<T extends Queriable> extends BaseQuery<T> {
504504 count ( options ?: AuthOptions ) : Promise < number > ;
505505 descending ( key : string ) : this;
506506 descending ( key : string [ ] ) : this;
507+ destroyAll ( options ?: AuthOptions ) : Promise < undefined > ;
507508 doesNotExist ( key : string ) : this;
508509 doesNotMatchKeyInQuery < U extends Queriable > (
509510 key : string ,
You can’t perform that action at this time.
0 commit comments