File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
"pretest" : " xcopy /e /k /i . \" ..\\ node_modules\\ fastify-cli\" || rsync -r --exclude=node_modules ./ node_modules/fastify-cli || echo 'this is fine'" ,
16
16
"test-no-coverage" : " npm run unit:cli && npm run unit:templates-without-ts-esm && npm run unit:template-ts-esm && npm run test:typescript" ,
17
17
"test" : " c8 --clean npm run test-no-coverage" ,
18
- "test:typescript" : " tsd templates/plugin && tsc --project templates/app-ts/tsconfig.json && del-cli templates/app-ts/dist"
18
+ "test:typescript" : " tsd templates/plugin -t ./../../index.d.ts && tsc --project templates/app-ts/tsconfig.json && del-cli templates/app-ts/dist"
19
19
},
20
20
"keywords" : [
21
21
" fastify" ,
84
84
"tap" : " ^16.1.0" ,
85
85
"ts-node" : " ^10.4.0" ,
86
86
"ts-standard" : " ^12.0.1" ,
87
- "tsd" : " ^0.16 .0" ,
88
- "typescript" : " ^4.5.4 " ,
87
+ "tsd" : " ^0.28 .0" ,
88
+ "typescript" : " ^5.2.2 " ,
89
89
"walker" : " ^1.0.8"
90
90
},
91
91
"tsd" : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { expectType } from 'tsd'
5
5
let app
6
6
try {
7
7
app = fastify ( )
8
- await app . ready ( )
8
+ app . ready ( )
9
9
app . register ( example )
10
10
expectType < ( ) => string > ( app . exampleDecorator )
11
11
} catch ( err ) {
You can’t perform that action at this time.
0 commit comments