ctx-core 4.11.1 → 4.11.2

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.
Files changed (2) hide show
  1. package/all/tup/index.d.ts +6 -14
  2. package/package.json +1 -1
@@ -17,17 +17,9 @@ export type TupleRest<T extends unknown[]> =
17
17
  : (((...b:T)=>void) extends (a:unknown, ...b:infer I)=>void ? I : [])
18
18
  export type TupleFirst<T extends unknown[]> =
19
19
  T['length'] extends 0 ? undefined : T[0]
20
- type _TupleExclude<T extends unknown[], E, Rest> =
21
- [Exclude<TupleFirst<T>, E>, Rest]
22
- export interface TupleExclude<
23
- T extends unknown[], E
24
- > extends _TupleExclude<
25
- T,
26
- E,
27
- TupleExclude<
28
- // @ts-expect-error TS2344
29
- TupleRest<T>,
30
- E
31
- >
32
- > {
33
- }
20
+ // @ts-expect-error TS2456
21
+ type _TupleExclude<T extends unknown[], E> =
22
+ // @ts-expect-error TS2315
23
+ [Exclude<TupleFirst<T>, E>, ..._TupleExclude<TupleRest<T>, E>]
24
+ // @ts-expect-error TS2315
25
+ export type TupleExclude<T extends unknown[], E> = _TupleExclude<T, E>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctx-core",
3
- "version": "4.11.1",
3
+ "version": "4.11.2",
4
4
  "description": "ctx-core core library",
5
5
  "keywords": [
6
6
  "ctx-core",