From 26a09f08cf1ed43c640879f23fdad56c5c9282f7 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:02:38 +0800 Subject: [PATCH] TODO#139884 Banner 1 文案調整 --- PAMapp/node_modules/@types/node/globals.d.ts | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/PAMapp/node_modules/@types/node/globals.d.ts b/PAMapp/node_modules/@types/node/globals.d.ts index ae974db..da49994 100755 --- a/PAMapp/node_modules/@types/node/globals.d.ts +++ b/PAMapp/node_modules/@types/node/globals.d.ts @@ -100,6 +100,16 @@ interface BigUint64Array extends RelativeIndexable<bigint> {} //#endregion ArrayLike.at() end +/** + * @since v17.0.0 + * + * Creates a deep clone of an object. + */ +declare function structuredClone<T>( + value: T, + transfer?: { transfer: ReadonlyArray<import('worker_threads').TransferListItem> }, +): T; + /*----------------------------------------------* * * * GLOBAL INTERFACES * @@ -205,9 +215,9 @@ writable: boolean; write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; - end(cb?: () => void): void; - end(data: string | Uint8Array, cb?: () => void): void; - end(str: string, encoding?: BufferEncoding, cb?: () => void): void; + end(cb?: () => void): this; + end(data: string | Uint8Array, cb?: () => void): this; + end(str: string, encoding?: BufferEncoding, cb?: () => void): this; } interface ReadWriteStream extends ReadableStream, WritableStream { } @@ -262,11 +272,11 @@ id: string; filename: string; loaded: boolean; - /** @deprecated since 14.6.0 Please use `require.main` and `module.children` instead. */ + /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ parent: Module | null | undefined; children: Module[]; /** - * @since 11.14.0 + * @since v11.14.0 * * The directory name of the module. This is usually the same as the path.dirname() of the module.id. */ -- Gitblit v1.8.0