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/@jest/types/build/Global.d.ts | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PAMapp/node_modules/@jest/types/build/Global.d.ts b/PAMapp/node_modules/@jest/types/build/Global.d.ts index 5b06c2c..ed498e5 100644 --- a/PAMapp/node_modules/@jest/types/build/Global.d.ts +++ b/PAMapp/node_modules/@jest/types/build/Global.d.ts @@ -21,19 +21,19 @@ export declare type BlockName = string; export declare type HookFn = TestFn; export declare type Col = unknown; -export declare type Row = Array<Col>; -export declare type Table = Array<Row>; +export declare type Row = ReadonlyArray<Col>; +export declare type Table = ReadonlyArray<Row>; export declare type ArrayTable = Table | Row; export declare type TemplateTable = TemplateStringsArray; -export declare type TemplateData = Array<unknown>; +export declare type TemplateData = ReadonlyArray<unknown>; export declare type EachTable = ArrayTable | TemplateTable; export declare type TestCallback = BlockFn | TestFn | ConcurrentTestFn; -export declare type EachTestFn<EachCallback extends TestCallback> = (...args: Array<any>) => ReturnType<EachCallback>; +export declare type EachTestFn<EachCallback extends TestCallback> = (...args: ReadonlyArray<any>) => ReturnType<EachCallback>; declare type Jasmine = { _DEFAULT_TIMEOUT_INTERVAL?: number; addMatchers: (matchers: Record<string, unknown>) => void; }; -declare type Each<EachCallback extends TestCallback> = ((table: EachTable, ...taggedTemplateData: Array<unknown>) => (title: string, test: EachTestFn<EachCallback>, timeout?: number) => void) | (() => () => void); +declare type Each<EachCallback extends TestCallback> = ((table: EachTable, ...taggedTemplateData: TemplateData) => (name: BlockName | TestName, test: EachTestFn<EachCallback>, timeout?: number) => void) | (() => () => void); export interface HookBase { (fn: HookFn, timeout?: number): void; } @@ -47,7 +47,7 @@ todo: (testName: TestName) => void; } export interface ItConcurrentBase { - (testName: string, testFn: ConcurrentTestFn, timeout?: number): void; + (testName: TestName, testFn: ConcurrentTestFn, timeout?: number): void; each: Each<ConcurrentTestFn>; } export interface ItConcurrentExtended extends ItConcurrentBase { -- Gitblit v1.8.0