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/lodash/fp.d.ts | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/PAMapp/node_modules/@types/lodash/fp.d.ts b/PAMapp/node_modules/@types/lodash/fp.d.ts index d5e71de..e59ea84 100755 --- a/PAMapp/node_modules/@types/lodash/fp.d.ts +++ b/PAMapp/node_modules/@types/lodash/fp.d.ts @@ -317,7 +317,10 @@ } type LodashConcat1x1<T> = (values: lodash.Many<T>) => T[]; type LodashConcat1x2<T> = (array: lodash.Many<T>) => T[]; - type LodashCond = <T, R>(pairs: Array<lodash.CondPair<T, R>>) => (Target: T) => R; + interface LodashCond { + <R>(pairs: Array<lodash.CondPairNullary<R>>): () => R; + <T, R>(pairs: Array<lodash.CondPairUnary<T, R>>): (Target: T) => R; + } interface LodashConformsTo { <T>(source: lodash.ConformsPredicateObject<T>): LodashConformsTo1x1<T>; <T>(source: lodash.__, object: T): LodashConformsTo1x2<T>; @@ -1593,13 +1596,13 @@ interface LodashGroupBy { <T>(iteratee: lodash.ValueIteratee<T>): LodashGroupBy1x1<T>; <T>(iteratee: lodash.__, collection: lodash.List<T> | null | undefined): LodashGroupBy1x2<T>; - <T>(iteratee: lodash.ValueIteratee<T>, collection: lodash.List<T> | null | undefined): lodash.Dictionary<[T, ...T[]]>; + <T>(iteratee: lodash.ValueIteratee<T>, collection: lodash.List<T> | null | undefined): lodash.Dictionary<T[]>; <T extends object>(iteratee: lodash.__, collection: T | null | undefined): LodashGroupBy2x2<T>; - <T extends object>(iteratee: lodash.ValueIteratee<T[keyof T]>, collection: T | null | undefined): lodash.Dictionary<[T[keyof T], ...Array<T[keyof T]>]>; + <T extends object>(iteratee: lodash.ValueIteratee<T[keyof T]>, collection: T | null | undefined): lodash.Dictionary<Array<T[keyof T]>>; } - type LodashGroupBy1x1<T> = (collection: lodash.List<T> | object | null | undefined) => lodash.Dictionary<[T, ...T[]]>; - type LodashGroupBy1x2<T> = (iteratee: lodash.ValueIteratee<T>) => lodash.Dictionary<[T, ...T[]]>; - type LodashGroupBy2x2<T> = (iteratee: lodash.ValueIteratee<T[keyof T]>) => lodash.Dictionary<[T[keyof T], ...Array<T[keyof T]>]>; + type LodashGroupBy1x1<T> = (collection: lodash.List<T> | object | null | undefined) => lodash.Dictionary<T[]>; + type LodashGroupBy1x2<T> = (iteratee: lodash.ValueIteratee<T>) => lodash.Dictionary<T[]>; + type LodashGroupBy2x2<T> = (iteratee: lodash.ValueIteratee<T[keyof T]>) => lodash.Dictionary<Array<T[keyof T]>>; interface LodashGt { (value: any): LodashGt1x1; (value: lodash.__, other: any): LodashGt1x2; -- Gitblit v1.8.0