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

fix Class doc: update Greeter to greeter #1280

Closed bmeritter closed 4 years ago

bmeritter commented 4 years ago

Fixes #

orta commented 4 years ago

I think (though it does feel ambiguous) that this sentence refers to the first line in the code sample which means this fix is probably wrong. So I'll close this - thanks for giving an improvement a shot! It means a lot when folks help improve the core docs :D

bmeritter commented 4 years ago

@orta I just think Greeter is a Class, but greeter is an object, greeter is an instance of Greeter. We should let it clear.

orta commented 4 years ago

Sure if you want to rename the instance in the docs that could help?

bmeritter commented 4 years ago

@orta Yeah