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 fca9304 commit 8eb2744Copy full SHA for 8eb2744
1 file changed
test/helpers/createQueryContext.ts
@@ -1,8 +1,8 @@
1
-import type {
2
- QueryContextType,
+import {
+ type QueryContext,
3
} from 'slonik';
4
5
-export default (): QueryContextType => {
+export default () => {
6
return {
7
connectionId: '1',
8
log: {
@@ -14,5 +14,5 @@ export default (): QueryContextType => {
14
},
15
16
poolId: '1',
17
- };
+ } as unknown as QueryContext;
18
};
0 commit comments