diff --git a/types/index.d.ts b/types/index.d.ts index b6b4518ec..404601a3e 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -41,6 +41,10 @@ type DeepPartial = { [P in keyof T]?: DeepPartial; }; +type Without = { [P in Exclude]?: never }; + +type Exclusive = (Without & U) | (Without & T); + type TimeoutHandle = ReturnType; type IntervalHandle = ReturnType;