Skip to content

Commit ab4db7a

Browse files
authored
Merge pull request basarat#445 from eejdoowad/patch-2
Modify wording of never assignability
2 parents 4bbf8a1 + 8bbe3a6 commit ab4db7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/never.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Of course you can use this annotation yourself as well
1515
let foo: never; // Okay
1616
```
1717

18-
However, `never` *can only ever be assigned to another never*. e.g.
18+
However, *only `never` can be assigned to another never*. e.g.
1919

2020
```ts
2121
let foo: never = 123; // Error: Type number is not assignable to never

0 commit comments

Comments
 (0)