@antv/l7-utils
Advanced tools
Comparing version 2.22.0 to 2.22.1
@@ -44,10 +44,10 @@ /// <reference types="lodash" /> | ||
<TObject_7 extends object, TKey1 extends keyof TObject_7, TKey2 extends keyof TObject_7[TKey1]>(object: TObject_7, path: [TKey1, TKey2]): TObject_7[TKey1][TKey2]; | ||
<TObject_8 extends object, TKey1_1 extends keyof TObject_8, TKey2_1 extends keyof TObject_8[TKey1_1]>(object: TObject_8 | null | undefined, path: [TKey1_1, TKey2_1]): TObject_8[TKey1_1][TKey2_1] | undefined; | ||
<TObject_9 extends object, TKey1_2 extends keyof TObject_9, TKey2_2 extends keyof TObject_9[TKey1_2], TDefault_1>(object: TObject_9 | null | undefined, path: [TKey1_2, TKey2_2], defaultValue: TDefault_1): TDefault_1 | Exclude<TObject_9[TKey1_2][TKey2_2], undefined>; | ||
<TObject_8 extends object, TKey1_1 extends keyof TObject_8, TKey2_1 extends keyof NonNullable<TObject_8[TKey1_1]>>(object: TObject_8 | null | undefined, path: [TKey1_1, TKey2_1]): NonNullable<TObject_8[TKey1_1]>[TKey2_1] | undefined; | ||
<TObject_9 extends object, TKey1_2 extends keyof TObject_9, TKey2_2 extends keyof NonNullable<TObject_9[TKey1_2]>, TDefault_1>(object: TObject_9 | null | undefined, path: [TKey1_2, TKey2_2], defaultValue: TDefault_1): TDefault_1 | Exclude<NonNullable<TObject_9[TKey1_2]>[TKey2_2], undefined>; | ||
<TObject_10 extends object, TKey1_3 extends keyof TObject_10, TKey2_3 extends keyof TObject_10[TKey1_3], TKey3 extends keyof TObject_10[TKey1_3][TKey2_3]>(object: TObject_10, path: [TKey1_3, TKey2_3, TKey3]): TObject_10[TKey1_3][TKey2_3][TKey3]; | ||
<TObject_11 extends object, TKey1_4 extends keyof TObject_11, TKey2_4 extends keyof TObject_11[TKey1_4], TKey3_1 extends keyof TObject_11[TKey1_4][TKey2_4]>(object: TObject_11 | null | undefined, path: [TKey1_4, TKey2_4, TKey3_1]): TObject_11[TKey1_4][TKey2_4][TKey3_1] | undefined; | ||
<TObject_12 extends object, TKey1_5 extends keyof TObject_12, TKey2_5 extends keyof TObject_12[TKey1_5], TKey3_2 extends keyof TObject_12[TKey1_5][TKey2_5], TDefault_2>(object: TObject_12 | null | undefined, path: [TKey1_5, TKey2_5, TKey3_2], defaultValue: TDefault_2): TDefault_2 | Exclude<TObject_12[TKey1_5][TKey2_5][TKey3_2], undefined>; | ||
<TObject_11 extends object, TKey1_4 extends keyof TObject_11, TKey2_4 extends keyof NonNullable<TObject_11[TKey1_4]>, TKey3_1 extends keyof NonNullable<NonNullable<TObject_11[TKey1_4]>[TKey2_4]>>(object: TObject_11 | null | undefined, path: [TKey1_4, TKey2_4, TKey3_1]): NonNullable<NonNullable<TObject_11[TKey1_4]>[TKey2_4]>[TKey3_1] | undefined; | ||
<TObject_12 extends object, TKey1_5 extends keyof TObject_12, TKey2_5 extends keyof NonNullable<TObject_12[TKey1_5]>, TKey3_2 extends keyof NonNullable<NonNullable<TObject_12[TKey1_5]>[TKey2_5]>, TDefault_2>(object: TObject_12 | null | undefined, path: [TKey1_5, TKey2_5, TKey3_2], defaultValue: TDefault_2): TDefault_2 | Exclude<NonNullable<NonNullable<TObject_12[TKey1_5]>[TKey2_5]>[TKey3_2], undefined>; | ||
<TObject_13 extends object, TKey1_6 extends keyof TObject_13, TKey2_6 extends keyof TObject_13[TKey1_6], TKey3_3 extends keyof TObject_13[TKey1_6][TKey2_6], TKey4 extends keyof TObject_13[TKey1_6][TKey2_6][TKey3_3]>(object: TObject_13, path: [TKey1_6, TKey2_6, TKey3_3, TKey4]): TObject_13[TKey1_6][TKey2_6][TKey3_3][TKey4]; | ||
<TObject_14 extends object, TKey1_7 extends keyof TObject_14, TKey2_7 extends keyof TObject_14[TKey1_7], TKey3_4 extends keyof TObject_14[TKey1_7][TKey2_7], TKey4_1 extends keyof TObject_14[TKey1_7][TKey2_7][TKey3_4]>(object: TObject_14 | null | undefined, path: [TKey1_7, TKey2_7, TKey3_4, TKey4_1]): TObject_14[TKey1_7][TKey2_7][TKey3_4][TKey4_1] | undefined; | ||
<TObject_15 extends object, TKey1_8 extends keyof TObject_15, TKey2_8 extends keyof TObject_15[TKey1_8], TKey3_5 extends keyof TObject_15[TKey1_8][TKey2_8], TKey4_2 extends keyof TObject_15[TKey1_8][TKey2_8][TKey3_5], TDefault_3>(object: TObject_15 | null | undefined, path: [TKey1_8, TKey2_8, TKey3_5, TKey4_2], defaultValue: TDefault_3): TDefault_3 | Exclude<TObject_15[TKey1_8][TKey2_8][TKey3_5][TKey4_2], undefined>; | ||
<TObject_14 extends object, TKey1_7 extends keyof TObject_14, TKey2_7 extends keyof NonNullable<TObject_14[TKey1_7]>, TKey3_4 extends keyof NonNullable<NonNullable<TObject_14[TKey1_7]>[TKey2_7]>, TKey4_1 extends keyof NonNullable<NonNullable<NonNullable<TObject_14[TKey1_7]>[TKey2_7]>[TKey3_4]>>(object: TObject_14 | null | undefined, path: [TKey1_7, TKey2_7, TKey3_4, TKey4_1]): NonNullable<NonNullable<NonNullable<TObject_14[TKey1_7]>[TKey2_7]>[TKey3_4]>[TKey4_1] | undefined; | ||
<TObject_15 extends object, TKey1_8 extends keyof TObject_15, TKey2_8 extends keyof NonNullable<TObject_15[TKey1_8]>, TKey3_5 extends keyof NonNullable<NonNullable<TObject_15[TKey1_8]>[TKey2_8]>, TKey4_2 extends keyof NonNullable<NonNullable<NonNullable<TObject_15[TKey1_8]>[TKey2_8]>[TKey3_5]>, TDefault_3>(object: TObject_15 | null | undefined, path: [TKey1_8, TKey2_8, TKey3_5, TKey4_2], defaultValue: TDefault_3): TDefault_3 | Exclude<NonNullable<NonNullable<NonNullable<TObject_15[TKey1_8]>[TKey2_8]>[TKey3_5]>[TKey4_2], undefined>; | ||
<T_8>(object: import("lodash").NumericDictionary<T_8>, path: number): T_8; | ||
@@ -58,4 +58,4 @@ <T_9>(object: import("lodash").NumericDictionary<T_9> | null | undefined, path: number): T_9 | undefined; | ||
(object: null | undefined, path: import("lodash").PropertyPath): undefined; | ||
<TObject_16, TPath extends string>(data: TObject_16, path: TPath): string extends TPath ? any : import("lodash").GetFieldType<TObject_16, TPath>; | ||
<TObject_17, TPath_1 extends string, TDefault_6 = import("lodash").GetFieldType<TObject_17, TPath_1>>(data: TObject_17, path: TPath_1, defaultValue: TDefault_6): TDefault_6 | Exclude<import("lodash").GetFieldType<TObject_17, TPath_1>, null | undefined>; | ||
<TObject_16, TPath extends string>(data: TObject_16, path: TPath): string extends TPath ? any : import("lodash").GetFieldType<TObject_16, TPath, "Path">; | ||
<TObject_17, TPath_1 extends string, TDefault_6 = import("lodash").GetFieldType<TObject_17, TPath_1, "Path">>(data: TObject_17, path: TPath_1, defaultValue: TDefault_6): TDefault_6 | Exclude<import("lodash").GetFieldType<TObject_17, TPath_1, "Path">, null | undefined>; | ||
(object: any, path: import("lodash").PropertyPath, defaultValue?: any): any; | ||
@@ -62,0 +62,0 @@ }; |
@@ -44,10 +44,10 @@ /// <reference types="lodash" /> | ||
<TObject_7 extends object, TKey1 extends keyof TObject_7, TKey2 extends keyof TObject_7[TKey1]>(object: TObject_7, path: [TKey1, TKey2]): TObject_7[TKey1][TKey2]; | ||
<TObject_8 extends object, TKey1_1 extends keyof TObject_8, TKey2_1 extends keyof TObject_8[TKey1_1]>(object: TObject_8 | null | undefined, path: [TKey1_1, TKey2_1]): TObject_8[TKey1_1][TKey2_1] | undefined; | ||
<TObject_9 extends object, TKey1_2 extends keyof TObject_9, TKey2_2 extends keyof TObject_9[TKey1_2], TDefault_1>(object: TObject_9 | null | undefined, path: [TKey1_2, TKey2_2], defaultValue: TDefault_1): TDefault_1 | Exclude<TObject_9[TKey1_2][TKey2_2], undefined>; | ||
<TObject_8 extends object, TKey1_1 extends keyof TObject_8, TKey2_1 extends keyof NonNullable<TObject_8[TKey1_1]>>(object: TObject_8 | null | undefined, path: [TKey1_1, TKey2_1]): NonNullable<TObject_8[TKey1_1]>[TKey2_1] | undefined; | ||
<TObject_9 extends object, TKey1_2 extends keyof TObject_9, TKey2_2 extends keyof NonNullable<TObject_9[TKey1_2]>, TDefault_1>(object: TObject_9 | null | undefined, path: [TKey1_2, TKey2_2], defaultValue: TDefault_1): TDefault_1 | Exclude<NonNullable<TObject_9[TKey1_2]>[TKey2_2], undefined>; | ||
<TObject_10 extends object, TKey1_3 extends keyof TObject_10, TKey2_3 extends keyof TObject_10[TKey1_3], TKey3 extends keyof TObject_10[TKey1_3][TKey2_3]>(object: TObject_10, path: [TKey1_3, TKey2_3, TKey3]): TObject_10[TKey1_3][TKey2_3][TKey3]; | ||
<TObject_11 extends object, TKey1_4 extends keyof TObject_11, TKey2_4 extends keyof TObject_11[TKey1_4], TKey3_1 extends keyof TObject_11[TKey1_4][TKey2_4]>(object: TObject_11 | null | undefined, path: [TKey1_4, TKey2_4, TKey3_1]): TObject_11[TKey1_4][TKey2_4][TKey3_1] | undefined; | ||
<TObject_12 extends object, TKey1_5 extends keyof TObject_12, TKey2_5 extends keyof TObject_12[TKey1_5], TKey3_2 extends keyof TObject_12[TKey1_5][TKey2_5], TDefault_2>(object: TObject_12 | null | undefined, path: [TKey1_5, TKey2_5, TKey3_2], defaultValue: TDefault_2): TDefault_2 | Exclude<TObject_12[TKey1_5][TKey2_5][TKey3_2], undefined>; | ||
<TObject_11 extends object, TKey1_4 extends keyof TObject_11, TKey2_4 extends keyof NonNullable<TObject_11[TKey1_4]>, TKey3_1 extends keyof NonNullable<NonNullable<TObject_11[TKey1_4]>[TKey2_4]>>(object: TObject_11 | null | undefined, path: [TKey1_4, TKey2_4, TKey3_1]): NonNullable<NonNullable<TObject_11[TKey1_4]>[TKey2_4]>[TKey3_1] | undefined; | ||
<TObject_12 extends object, TKey1_5 extends keyof TObject_12, TKey2_5 extends keyof NonNullable<TObject_12[TKey1_5]>, TKey3_2 extends keyof NonNullable<NonNullable<TObject_12[TKey1_5]>[TKey2_5]>, TDefault_2>(object: TObject_12 | null | undefined, path: [TKey1_5, TKey2_5, TKey3_2], defaultValue: TDefault_2): TDefault_2 | Exclude<NonNullable<NonNullable<TObject_12[TKey1_5]>[TKey2_5]>[TKey3_2], undefined>; | ||
<TObject_13 extends object, TKey1_6 extends keyof TObject_13, TKey2_6 extends keyof TObject_13[TKey1_6], TKey3_3 extends keyof TObject_13[TKey1_6][TKey2_6], TKey4 extends keyof TObject_13[TKey1_6][TKey2_6][TKey3_3]>(object: TObject_13, path: [TKey1_6, TKey2_6, TKey3_3, TKey4]): TObject_13[TKey1_6][TKey2_6][TKey3_3][TKey4]; | ||
<TObject_14 extends object, TKey1_7 extends keyof TObject_14, TKey2_7 extends keyof TObject_14[TKey1_7], TKey3_4 extends keyof TObject_14[TKey1_7][TKey2_7], TKey4_1 extends keyof TObject_14[TKey1_7][TKey2_7][TKey3_4]>(object: TObject_14 | null | undefined, path: [TKey1_7, TKey2_7, TKey3_4, TKey4_1]): TObject_14[TKey1_7][TKey2_7][TKey3_4][TKey4_1] | undefined; | ||
<TObject_15 extends object, TKey1_8 extends keyof TObject_15, TKey2_8 extends keyof TObject_15[TKey1_8], TKey3_5 extends keyof TObject_15[TKey1_8][TKey2_8], TKey4_2 extends keyof TObject_15[TKey1_8][TKey2_8][TKey3_5], TDefault_3>(object: TObject_15 | null | undefined, path: [TKey1_8, TKey2_8, TKey3_5, TKey4_2], defaultValue: TDefault_3): TDefault_3 | Exclude<TObject_15[TKey1_8][TKey2_8][TKey3_5][TKey4_2], undefined>; | ||
<TObject_14 extends object, TKey1_7 extends keyof TObject_14, TKey2_7 extends keyof NonNullable<TObject_14[TKey1_7]>, TKey3_4 extends keyof NonNullable<NonNullable<TObject_14[TKey1_7]>[TKey2_7]>, TKey4_1 extends keyof NonNullable<NonNullable<NonNullable<TObject_14[TKey1_7]>[TKey2_7]>[TKey3_4]>>(object: TObject_14 | null | undefined, path: [TKey1_7, TKey2_7, TKey3_4, TKey4_1]): NonNullable<NonNullable<NonNullable<TObject_14[TKey1_7]>[TKey2_7]>[TKey3_4]>[TKey4_1] | undefined; | ||
<TObject_15 extends object, TKey1_8 extends keyof TObject_15, TKey2_8 extends keyof NonNullable<TObject_15[TKey1_8]>, TKey3_5 extends keyof NonNullable<NonNullable<TObject_15[TKey1_8]>[TKey2_8]>, TKey4_2 extends keyof NonNullable<NonNullable<NonNullable<TObject_15[TKey1_8]>[TKey2_8]>[TKey3_5]>, TDefault_3>(object: TObject_15 | null | undefined, path: [TKey1_8, TKey2_8, TKey3_5, TKey4_2], defaultValue: TDefault_3): TDefault_3 | Exclude<NonNullable<NonNullable<NonNullable<TObject_15[TKey1_8]>[TKey2_8]>[TKey3_5]>[TKey4_2], undefined>; | ||
<T_8>(object: import("lodash").NumericDictionary<T_8>, path: number): T_8; | ||
@@ -58,4 +58,4 @@ <T_9>(object: import("lodash").NumericDictionary<T_9> | null | undefined, path: number): T_9 | undefined; | ||
(object: null | undefined, path: import("lodash").PropertyPath): undefined; | ||
<TObject_16, TPath extends string>(data: TObject_16, path: TPath): string extends TPath ? any : import("lodash").GetFieldType<TObject_16, TPath>; | ||
<TObject_17, TPath_1 extends string, TDefault_6 = import("lodash").GetFieldType<TObject_17, TPath_1>>(data: TObject_17, path: TPath_1, defaultValue: TDefault_6): TDefault_6 | Exclude<import("lodash").GetFieldType<TObject_17, TPath_1>, null | undefined>; | ||
<TObject_16, TPath extends string>(data: TObject_16, path: TPath): string extends TPath ? any : import("lodash").GetFieldType<TObject_16, TPath, "Path">; | ||
<TObject_17, TPath_1 extends string, TDefault_6 = import("lodash").GetFieldType<TObject_17, TPath_1, "Path">>(data: TObject_17, path: TPath_1, defaultValue: TDefault_6): TDefault_6 | Exclude<import("lodash").GetFieldType<TObject_17, TPath_1, "Path">, null | undefined>; | ||
(object: any, path: import("lodash").PropertyPath, defaultValue?: any): any; | ||
@@ -62,0 +62,0 @@ }; |
{ | ||
"name": "@antv/l7-utils", | ||
"version": "2.22.0", | ||
"version": "2.22.1", | ||
"description": "Utils for L7", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
234212
6787