File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 15
15
// Follow the links below:
16
16
// https://stackoverflow.com/questions/36593087/using-a-custom-promise-as-a-generic-type
17
17
// https://github.com/Microsoft/TypeScript/issues/1213
18
- import { ITypes } from "./pg-subset" ;
19
18
20
19
type XPromise < T > = Promise < T > ;
21
20
@@ -81,15 +80,15 @@ declare namespace pgPromise {
81
80
binary ?: boolean
82
81
rowMode ?: 'array' | null | void
83
82
rows ?: number
84
- types ?: ITypes ;
83
+ types ?: pg . ITypes
85
84
}
86
85
87
86
interface IParameterizedQuery {
88
87
text ?: string | QueryFile
89
88
values ?: any [ ]
90
89
binary ?: boolean
91
90
rowMode ?: void | 'array'
92
- types ?: ITypes ;
91
+ types ?: pg . ITypes ;
93
92
}
94
93
95
94
interface IPreparedParsed {
@@ -252,7 +251,7 @@ declare namespace pgPromise {
252
251
binary : boolean ;
253
252
rowMode : void | 'array' ;
254
253
rows : number ;
255
- types : ITypes ;
254
+ types : pg . ITypes ;
256
255
257
256
parse ( ) : IPreparedParsed | errors . PreparedStatementError
258
257
@@ -272,7 +271,7 @@ declare namespace pgPromise {
272
271
// advanced properties:
273
272
binary : boolean ;
274
273
rowMode : void | 'array' ;
275
- types : ITypes ;
274
+ types : pg . ITypes ;
276
275
277
276
parse ( ) : IParameterizedParsed | errors . ParameterizedQueryError
278
277
You can’t perform that action at this time.
0 commit comments