Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 9ff2623

Browse files
authored
Fix typo in Advanced Types.md
1 parent 8411178 commit 9ff2623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/Advanced Types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ As an example of some types that are immediately resolved, we can take a look at
10531053
```ts
10541054
declare function f<T extends boolean>(x: T): T extends true ? string : number;
10551055

1056-
// Type is 'string | number
1056+
// Type is 'string | number'
10571057
let x = f(Math.random() < 0.5)
10581058

10591059
```

0 commit comments

Comments
 (0)