ddan-js 2.2.6 → 2.2.8

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.
@@ -1,17 +0,0 @@
1
- export declare namespace Xhao {
2
- type KV<T = any> = Record<string, T>;
3
- type KeyValueOjbect<T = any> = {
4
- key: string;
5
- value: T;
6
- };
7
- type KeyValue<T = any> = Required<KeyValueOjbect<T>>;
8
- type Callback<T extends any[] = unknown[], R = any> = (...args: T) => R;
9
- type Action<T extends any[] = unknown[]> = Callback<T, void>;
10
- type Task<T = any, R = void> = Callback<[T[]], R>;
11
- type Func<R = any> = Callback<[], R>;
12
- type Func1<T = any, R = any> = Callback<[T], R>;
13
- type Func2<T0 = any, T1 = any, R = any> = Callback<[T0, T1], R>;
14
- type Func3<T0 = any, T1 = any, T2 = any, R = any> = Callback<[T0, T1, T2], R>;
15
- type Func4<T0 = any, T1 = any, T2 = any, T3 = any, R = any> = Callback<[T0, T1, T2, T3], R>;
16
- type Result<T = any> = T | Promise<T>;
17
- }