Skip to content

Commit 8eb2744

Browse files
committed
test: correct types
1 parent fca9304 commit 8eb2744

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/helpers/createQueryContext.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import type {
2-
QueryContextType,
1+
import {
2+
type QueryContext,
33
} from 'slonik';
44

5-
export default (): QueryContextType => {
5+
export default () => {
66
return {
77
connectionId: '1',
88
log: {
@@ -14,5 +14,5 @@ export default (): QueryContextType => {
1414
},
1515
},
1616
poolId: '1',
17-
};
17+
} as unknown as QueryContext;
1818
};

0 commit comments

Comments
 (0)