Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion intros/TypeScript for the Haskell or ML Programmer.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ function area(s: Shape) {
}
```

Note that the return type is `area` is inferred to be `number` because
Note that the return type of `area` is inferred to be `number` because
TypeScript knows the function is total. If some variant is not
covered, the return type of `area` will be `number | undefined` instead.

Expand Down