Skip to content

Commit

Permalink
Update flowconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Jul 18, 2016
1 parent 1f5cccd commit 89a9fd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
.*/__mocks__/.*
.*/coverage/.*
.*/resources/.*
<PROJECT_ROOT>/lib/.*
<PROJECT_ROOT>/dist/.*

[include]

Expand Down
2 changes: 1 addition & 1 deletion src/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type ResolverNames = 'findById' | 'findByIds' | 'findOne' | 'findMany' |
export type MongooseQuery = {
exec(): Promise<any>,
where(criteriaOrFieldName: ObjectMap | string): MongooseQuery,
where(fieldName: string, equalTo: string): MongooseQuery,
// where(fieldName: string, equalTo: string): MongooseQuery,
skip(num: number): MongooseQuery,
limit(num: number): MongooseQuery,
select(projection: ObjectMap): MongooseQuery,
Expand Down

0 comments on commit 89a9fd7

Please sign in to comment.