File tree 3 files changed +7
-21
lines changed
3 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 1
- import type { FastifyPluginCallback } from 'fastify' ;
2
- import type PgAdapter from 'pg' ;
3
- import type {
1
+ import { FastifyPluginCallback } from 'fastify' ;
2
+ import * as PgAdapter from 'pg' ;
3
+ import {
4
4
Client as PgClient ,
5
5
Pool as PgPool ,
6
6
PoolClient as PgPoolClient ,
Original file line number Diff line number Diff line change 40
40
"pg-native" : " ^3.0.0" ,
41
41
"standard" : " ^14.0.0" ,
42
42
"tap" : " ^14.10.7" ,
43
- "typescript" : " ^4.0.0 "
43
+ "typescript" : " ^4.0.2 "
44
44
},
45
45
"peerDependencies" : {
46
- "pg" : " >=6.0.0"
47
- },
48
- "optionalDependencies" : {
49
- "@types/pg" : " >=6.0.0" ,
50
- "typescript" : " >=4.0.0"
46
+ "pg" : " >=6.0.0" ,
47
+ "@types/pg" : " >=6.0.0"
51
48
}
52
49
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" ./index.d.ts" ],
3
-
4
- "compilerOptions" : {
5
- "noEmit" : true ,
6
- "esModuleInterop" : true ,
7
-
8
- "strict" : true ,
9
- "noUnusedLocals" : true ,
10
- "noUnusedParameters" : true ,
11
- "noImplicitReturns" : true ,
12
- "noFallthroughCasesInSwitch" : true ,
13
- },
2
+ "extends" : " fastify/types/tsconfig.json"
14
3
}
You can’t perform that action at this time.
0 commit comments