Skip to content

Commit 9c791de

Browse files
committed
fix: query options flow typing
1 parent 4056571 commit 9c791de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22

3-
import Sequelize, {Model} from 'sequelize'
3+
import Sequelize, {Model, type QueryOptions} from 'sequelize'
44

55
type QueryGenerator = $Call<<T>({QueryGenerator: T}) => T, Class<Model<any>>>
66

@@ -11,7 +11,7 @@ const queryGeneratorSymbol = Symbol('queryGenerator')
1111
function sql(
1212
strings: $ReadOnlyArray<string>,
1313
...expressions: $ReadOnlyArray<mixed>
14-
): [string, {bind: Array<any>}] {
14+
): [string, QueryOptions] {
1515
const parts: Array<string> = []
1616
const bind: Array<any> = []
1717
let queryGenerator

0 commit comments

Comments
 (0)