@nu-art/ts-common 0.201.32 → 0.201.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/tools.d.ts +4 -0
package/package.json
CHANGED
package/utils/tools.d.ts
CHANGED
|
@@ -14,3 +14,7 @@ export declare const resolveContent: <T extends unknown = any>(content: Resolvab
|
|
|
14
14
|
export declare const resolveFunctionOrValue: <T extends unknown = any>(content: ResolvableContent<T>) => T;
|
|
15
15
|
export declare function exists<T extends any = any>(item: T | undefined | null): item is T;
|
|
16
16
|
export declare const logicalXOR: (a: boolean, b: boolean) => boolean;
|
|
17
|
+
export type KeyBinder<K extends string, Type> = {
|
|
18
|
+
Key: K;
|
|
19
|
+
Type: Type;
|
|
20
|
+
};
|