Skip to content

Commit 974853d

Browse files
authored
Merge pull request #68 from itsfadnis/fix/types
fix(typings): #query return type
2 parents 7dffc3f + cda91ec commit 974853d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class Model {
292292
);
293293
}
294294

295-
static query(query, args): Promise<Collection<ModelConstructor>> {
295+
static query(query, args): Promise<Collection<Model>> {
296296
const requestURL = this.constructBaseURL(args);
297297
const queryString = this.toQueryString(query);
298298
return (

0 commit comments

Comments
 (0)