Skip to content

Commit 07403dd

Browse files
ichengdeleeyeh
authored andcommitted
fix(ts): add find function type of BaseQuery class when retrieves a list of AVObjects that satisfy this query.
close #545
1 parent 6f27ca2 commit 07403dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ declare class BaseQuery extends BaseObject {
407407
limit(n: number): this;
408408
skip(n: number): this;
409409

410-
find(options?: AuthOptions): Promise<Object>;
410+
find(options?: AuthOptions): Promise<Object[]>;
411411
}
412412

413413
/**

0 commit comments

Comments
 (0)