Skip to content

Commit 75d2901

Browse files
authored
chore: update typescript version to v5 (#672)
1 parent cbfcddb commit 75d2901

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

index.d.ts

Whitespace-only changes.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"pretest": "xcopy /e /k /i . \"..\\node_modules\\fastify-cli\" || rsync -r --exclude=node_modules ./ node_modules/fastify-cli || echo 'this is fine'",
1616
"test-no-coverage": "npm run unit:cli && npm run unit:templates-without-ts-esm && npm run unit:template-ts-esm && npm run test:typescript",
1717
"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"
1919
},
2020
"keywords": [
2121
"fastify",
@@ -84,8 +84,8 @@
8484
"tap": "^16.1.0",
8585
"ts-node": "^10.4.0",
8686
"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",
8989
"walker": "^1.0.8"
9090
},
9191
"tsd": {

templates/plugin/test/index.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { expectType } from 'tsd'
55
let app
66
try {
77
app = fastify()
8-
await app.ready()
8+
app.ready()
99
app.register(example)
1010
expectType<() => string>(app.exampleDecorator)
1111
} catch (err) {

0 commit comments

Comments
 (0)