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 5105cdf commit c9c282bCopy full SHA for c9c282b
tests/cases/conformance/types/conditional/inferTypes1.ts
@@ -13,7 +13,7 @@ type T02 = Unpacked<() => string>; // string
13
type T03 = Unpacked<Promise<string>>; // string
14
type T04 = Unpacked<Unpacked<Promise<string>[]>>; // string
15
type T05 = Unpacked<any>; // any
16
-type T06 = Unpacked<never>; // {}
+type T06 = Unpacked<never>; // never
17
18
function f1(s: string) {
19
return { a: 1, b: s };
0 commit comments