Skip to content

Commit 7f2ba3c

Browse files
authored
Update storage.d.ts
1 parent 2fe5d3c commit 7f2ba3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)