free-types-core 0.7.0 → 0.7.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/hkt.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/hkt.d.ts CHANGED
@@ -5,7 +5,7 @@ declare type HKT = {
5
5
  HKT: [any, ...any[]];
6
6
  };
7
7
  /** Expect a free type with contravariant arguments */
8
- declare type Contra<$T, $U extends Type> = _Contra<$T, $U>['type'];
8
+ declare type Contra<$T, $U extends Type> = Type & _Contra<$T, $U>['type'];
9
9
  interface _Contra<$T, $U extends Type> {
10
10
  type: $U['constraints'] extends this['$T']['constraints'] ? this['$T']['type'] extends $U['type'] ? Type : Type<this['$T']['constraints'], $U['type']> : {
11
11
  [K in 'Contravariance issue']: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-types-core",
3
- "version": "0.7.0",
3
+ "version": "0.7.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",