We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a38418 commit 9a30cefCopy full SHA for 9a30cef
2024/13/index.ts
@@ -1,10 +1,8 @@
1
/* eslint-disable no-self-assign */
2
import type { Expect, Equal } from "type-testing";
3
4
-type Inv<T> = (x: T) => T;
5
-
6
-interface Demand<T, S extends Inv<T> = Inv<T>> {
7
- demand: ReturnType<S>;
+interface Demand<in out T> {
+ demand: T;
8
}
9
10
// ------------------- Test section ---------------------
0 commit comments