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

3.7 Release Notes - fix typo #1277

Closed greg-murray-volusion closed 4 years ago

greg-murray-volusion commented 4 years ago

For this sample comparing to type predicates:

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

I believe you meant to put the correct method str.toUpperCase();

Fixes # 1276

msftclas commented 4 years ago

CLA assistant check
All CLA requirements met.

orta commented 4 years ago

Hi - this is going into a branch which isn't master, and so it won't get applied to the main repo!

If you switch the PR's base branch to master then it'd probably be good to merge 👍

orta commented 4 years ago

perfect, thanks