From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:48:15 +0800 Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改 --- PAMapp/node_modules/@types/node/http2.d.ts | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/PAMapp/node_modules/@types/node/http2.d.ts b/PAMapp/node_modules/@types/node/http2.d.ts index 3aa9497..d657f0e 100755 --- a/PAMapp/node_modules/@types/node/http2.d.ts +++ b/PAMapp/node_modules/@types/node/http2.d.ts @@ -6,7 +6,7 @@ * const http2 = require('http2'); * ``` * @since v8.4.0 - * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/http2.js) + * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/http2.js) */ declare module 'http2' { import EventEmitter = require('node:events'); @@ -580,6 +580,7 @@ parent?: number | undefined; weight?: number | undefined; waitForTrailers?: boolean | undefined; + signal?: AbortSignal | undefined; } export interface SessionState { effectiveLocalWindowSize?: number | undefined; @@ -757,7 +758,7 @@ * session.setLocalWindowSize(expectedWindowSize); * }); * ``` - * @since v15.3.0 + * @since v15.3.0, v14.18.0 */ setLocalWindowSize(windowSize: number): void; /** @@ -1349,7 +1350,7 @@ * ``` * @since v8.4.0 */ - readonly url: string; + url: string; /** * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is * provided, then it is added as a listener on the `'timeout'` event on @@ -1516,9 +1517,9 @@ * is finished. * @since v8.4.0 */ - end(callback?: () => void): void; - end(data: string | Uint8Array, callback?: () => void): void; - end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void; + end(callback?: () => void): this; + end(data: string | Uint8Array, callback?: () => void): this; + end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this; /** * Reads out a header that has already been queued but not sent to the client. * The name is case-insensitive. -- Gitblit v1.8.0