Skip to content

Commit 9a30cef

Browse files
committed
use in out notation
1 parent 5a38418 commit 9a30cef

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

2024/13/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/* eslint-disable no-self-assign */
22
import type { Expect, Equal } from "type-testing";
33

4-
type Inv<T> = (x: T) => T;
5-
6-
interface Demand<T, S extends Inv<T> = Inv<T>> {
7-
demand: ReturnType<S>;
4+
interface Demand<in out T> {
5+
demand: T;
86
}
97

108
// ------------------- Test section ---------------------

0 commit comments

Comments
 (0)