release: update 4.3.0

This commit is contained in:
xiaoxian521
2023-06-05 17:33:41 +08:00
parent 91f915462a
commit d19e7849cc
34 changed files with 2016 additions and 1256 deletions

4
types/index.d.ts vendored
View File

@@ -41,6 +41,10 @@ type DeepPartial<T> = {
[P in keyof T]?: DeepPartial<T[P]>;
};
type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
type Exclusive<T, U> = (Without<T, U> & U) | (Without<U, T> & T);
type TimeoutHandle = ReturnType<typeof setTimeout>;
type IntervalHandle = ReturnType<typeof setInterval>;