microsoft / TypeScript-Handbook

Deprecated, please use the TypeScript-Website repo instead
https://github.com/microsoft/TypeScript-Website
Apache License 2.0
4.88k stars 1.13k forks source link

TS 3.7 Release Notes typo #1276

Open greg-murray-volusion opened 4 years ago

greg-murray-volusion commented 4 years ago

For this sample comparing to type predicates:

if (isString(str)) {
    return str.toUppercase();
}

In this case, I believe you meant to put the correct method str.toUpperCase(); on line 291.