We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4056571 commit 9c791deCopy full SHA for 9c791de
src/index.js
@@ -1,6 +1,6 @@
1
// @flow
2
3
-import Sequelize, {Model} from 'sequelize'
+import Sequelize, {Model, type QueryOptions} from 'sequelize'
4
5
type QueryGenerator = $Call<<T>({QueryGenerator: T}) => T, Class<Model<any>>>
6
@@ -11,7 +11,7 @@ const queryGeneratorSymbol = Symbol('queryGenerator')
11
function sql(
12
strings: $ReadOnlyArray<string>,
13
...expressions: $ReadOnlyArray<mixed>
14
-): [string, {bind: Array<any>}] {
+): [string, QueryOptions] {
15
const parts: Array<string> = []
16
const bind: Array<any> = []
17
let queryGenerator
0 commit comments