free-types-core 0.6.0 → 0.6.1

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/dist/Type.d.ts +1 -10
  2. package/package.json +1 -1
package/dist/Type.d.ts CHANGED
@@ -10,19 +10,10 @@ interface CreateType<T extends {
10
10
  type: unknown;
11
11
  constraints: unknown[];
12
12
  }> {
13
+ [k: number]: unknown;
13
14
  type: T['type'];
14
15
  constraints: T['constraints'];
15
16
  arguments: unknown[];
16
- 0: unknown;
17
- 1: unknown;
18
- 2: unknown;
19
- 3: unknown;
20
- 4: unknown;
21
- 5: unknown;
22
- 6: unknown;
23
- 7: unknown;
24
- 8: unknown;
25
- 9: unknown;
26
17
  }
27
18
  declare type Slots<T> = T extends Precomputable ? PrecomputedSlots[T & Precomputable] : Tuple<T extends unknown[] ? T['length'] : T extends number ? T : number>;
28
19
  declare type Constraints<Input, Slots> = number extends Input ? unknown[] : unknown[] extends Input ? unknown[] : Input extends unknown[] ? Input : Slots;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-types-core",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A type-level library enabling the creation and the manipulation of type constructors which are detached from their type parameters.",
5
5
  "keywords:": [
6
6
  "higher kinded type",