diff --git a/package.json b/package.json index cfb9ea8..79b8d66 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "uuid": "^9.0.0" }, "devDependencies": { + "@babel/plugin-proposal-private-methods": "^7.18.6", "@compodoc/compodoc": "^1.1.9", "@types/execa": "^0.9.0", "@types/extend": "^3.0.1", diff --git a/src/http2.ts b/src/http2.ts index d351ae1..e5802ff 100644 --- a/src/http2.ts +++ b/src/http2.ts @@ -38,7 +38,7 @@ const DEBUG = !!process.env.HTTP2_DEBUG; */ export interface SessionData { session: http2.ClientHttp2Session; - timeoutHandle?: NodeJS.Timer; + timeoutHandle?: NodeJS.Timeout; } /**