Skip to content

Commit 89a9fd7

Browse files
committed
Update flowconfig
1 parent 1f5cccd commit 89a9fd7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.flowconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
.*/__mocks__/.*
44
.*/coverage/.*
55
.*/resources/.*
6+
<PROJECT_ROOT>/lib/.*
7+
<PROJECT_ROOT>/dist/.*
68

79
[include]
810

src/definition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export type ResolverNames = 'findById' | 'findByIds' | 'findOne' | 'findMany' |
5757
export type MongooseQuery = {
5858
exec(): Promise<any>,
5959
where(criteriaOrFieldName: ObjectMap | string): MongooseQuery,
60-
where(fieldName: string, equalTo: string): MongooseQuery,
60+
// where(fieldName: string, equalTo: string): MongooseQuery,
6161
skip(num: number): MongooseQuery,
6262
limit(num: number): MongooseQuery,
6363
select(projection: ObjectMap): MongooseQuery,

0 commit comments

Comments
 (0)