From 8e42fc8bf3a6ee7ea4edaf0bae0e593c8d000746 Mon Sep 17 00:00:00 2001 From: Greg Murray Date: Sat, 28 Dec 2019 17:06:23 -0600 Subject: [PATCH] Fix typo in 3.7 release notes For this sample comparing to type predicates: ```typescript if (isString(str)) { return str.toUppercase(); } ``` I believe you meant to put the correct method `str.toUpperCase();` --- pages/release notes/TypeScript 3.7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/release notes/TypeScript 3.7.md b/pages/release notes/TypeScript 3.7.md index 3574efc33..e51303e1b 100644 --- a/pages/release notes/TypeScript 3.7.md +++ b/pages/release notes/TypeScript 3.7.md @@ -288,7 +288,7 @@ function isString(val: any): val is string { function yell(str: any) { if (isString(str)) { - return str.toUppercase(); + return str.toUpperCase(); } throw "Oops!"; }