Skip to content

Commit 0a86931

Browse files
committed
Fix typo.
1 parent b60d47d commit 0a86931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/discriminated-unions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function area(s: Shape) {
109109

110110
### strictNullChecks
111111

112-
If using strictNullChecks and doing exhaustive checks you should return the `_exhaustiveCheck` variable (of type `never`) as well, otherwise TypeScirpt infers a possible return of `undefined`. So:
112+
If using strictNullChecks and doing exhaustive checks you should return the `_exhaustiveCheck` variable (of type `never`) as well, otherwise TypeScript infers a possible return of `undefined`. So:
113113

114114
```ts
115115
function area(s: Shape) {

0 commit comments

Comments
 (0)