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: implementation missing interface return type #1122

Closed gbili closed 4 years ago

gbili commented 4 years ago

the interface is defined as returning boolean, yet implementation is lacking the return type.

Fixes #

orta commented 4 years ago

Thanks @gbili - the return type is inferred in this case, and doesn't need to be included