Skip to content

Commit 33bc5b2

Browse files
author
Maxime Mangel
authored
Merge pull request #174 from jonathonchase/dev
Fix typo in the TypeScript feature documentation.
2 parents d23a5df + 8639c41 commit 33bc5b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/typescript/features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function execute(command : Command_$union) {
173173
```
174174

175175
:::info
176-
Indepently of the option you choose, the compiler will warn you if you handle an invalid case.
176+
Independently of the option you choose, the compiler will warn you if you handle an invalid case.
177177
:::
178178

179179
If you want the TypeScript compiler to warn you when you don't handle all cases, you can use the common hack of adding a `default` case that stores the value in a variable of type `never`.
@@ -260,4 +260,4 @@ type Shape =
260260
let describeShape (shape: Shape) =
261261
match shape with
262262
| Circle c -> $"circle of radius {c.radius}"
263-
| Square s -> $"square of length {s.sideLength}"
263+
| Square s -> $"square of length {s.sideLength}"

0 commit comments

Comments
 (0)