Skip to content

Commit

Permalink
Update node types, typescript, and fix broken test (#1681)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Arrowood authored and mcollina committed May 31, 2019
1 parent 1958c74 commit 7f274d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -88,7 +88,7 @@
"node": ">=6"
},
"devDependencies": {
"@types/node": "^11.9.3",
"@types/node": "^11.13.12",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"@typescript-eslint/parser": "^1.4.2",
"JSONStream": "^1.3.5",
Expand Down Expand Up @@ -127,7 +127,7 @@
"tap": "^12.5.2",
"tap-mocha-reporter": "^3.0.7",
"then-sleep": "^1.0.1",
"typescript": "^3.3.3333",
"typescript": "^3.5.1",
"x-xss-protection": "^1.1.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/types/index.ts
Expand Up @@ -188,7 +188,7 @@ const schema: fastify.RouteSchema = {
}
}

const opts: fastify.RouteShorthandOptions<http2.Http2Server, http2.Http2ServerRequest, http2.Http2ServerResponse> = {
const opts: fastify.RouteShorthandOptions<http2.Http2SecureServer, http2.Http2ServerRequest, http2.Http2ServerResponse> = {
schema,
preValidation: [
(request, reply, next) => {
Expand Down

0 comments on commit 7f274d1

Please sign in to comment.