@antv/l7-utils
Advanced tools
Comparing version 2.22.1 to 2.22.2
@@ -38,3 +38,3 @@ /// <reference types="lodash" /> | ||
}; | ||
upperFirst: (string?: string | undefined) => string; | ||
upperFirst: <T_8 extends string = string>(string?: T_8 | undefined) => Capitalize<T_8>; | ||
get: { | ||
@@ -53,5 +53,5 @@ <TObject_4 extends object, TKey extends keyof TObject_4>(object: TObject_4, path: TKey | [TKey]): TObject_4[TKey]; | ||
<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; | ||
<T_9>(object: import("lodash").NumericDictionary<T_9> | null | undefined, path: number): T_9 | undefined; | ||
<T_10, TDefault_4>(object: import("lodash").NumericDictionary<T_10> | null | undefined, path: number, defaultValue: TDefault_4): T_10 | TDefault_4; | ||
<T_9>(object: import("lodash").NumericDictionary<T_9>, path: number): T_9; | ||
<T_10>(object: import("lodash").NumericDictionary<T_10> | null | undefined, path: number): T_10 | undefined; | ||
<T_11, TDefault_4>(object: import("lodash").NumericDictionary<T_11> | null | undefined, path: number, defaultValue: TDefault_4): T_11 | TDefault_4; | ||
<TDefault_5>(object: null | undefined, path: import("lodash").PropertyPath, defaultValue: TDefault_5): TDefault_5; | ||
@@ -58,0 +58,0 @@ (object: null | undefined, path: import("lodash").PropertyPath): undefined; |
@@ -38,3 +38,3 @@ /// <reference types="lodash" /> | ||
}; | ||
upperFirst: (string?: string | undefined) => string; | ||
upperFirst: <T_8 extends string = string>(string?: T_8 | undefined) => Capitalize<T_8>; | ||
get: { | ||
@@ -53,5 +53,5 @@ <TObject_4 extends object, TKey extends keyof TObject_4>(object: TObject_4, path: TKey | [TKey]): TObject_4[TKey]; | ||
<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; | ||
<T_9>(object: import("lodash").NumericDictionary<T_9> | null | undefined, path: number): T_9 | undefined; | ||
<T_10, TDefault_4>(object: import("lodash").NumericDictionary<T_10> | null | undefined, path: number, defaultValue: TDefault_4): T_10 | TDefault_4; | ||
<T_9>(object: import("lodash").NumericDictionary<T_9>, path: number): T_9; | ||
<T_10>(object: import("lodash").NumericDictionary<T_10> | null | undefined, path: number): T_10 | undefined; | ||
<T_11, TDefault_4>(object: import("lodash").NumericDictionary<T_11> | null | undefined, path: number, defaultValue: TDefault_4): T_11 | TDefault_4; | ||
<TDefault_5>(object: null | undefined, path: import("lodash").PropertyPath, defaultValue: TDefault_5): TDefault_5; | ||
@@ -58,0 +58,0 @@ (object: null | undefined, path: import("lodash").PropertyPath): undefined; |
{ | ||
"name": "@antv/l7-utils", | ||
"version": "2.22.1", | ||
"version": "2.22.2", | ||
"description": "Utils for L7", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
234288