From db1571cfb697a63c6ffe929ecc3bcfb0b008130c Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Tue, 17 Mar 2020 14:15:31 +0530 Subject: [PATCH] Change"type is" to "type of" (fixed microsoft/TypeScript-Website#356) --- intros/TypeScript for the Haskell or ML Programmer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intros/TypeScript for the Haskell or ML Programmer.md b/intros/TypeScript for the Haskell or ML Programmer.md index ecd6b37..3b924b6 100644 --- a/intros/TypeScript for the Haskell or ML Programmer.md +++ b/intros/TypeScript for the Haskell or ML Programmer.md @@ -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.