microsoft / TypeScript-New-Handbook

Incubation repository for the new TypeScript handbook 🐣
MIT License
649 stars 27 forks source link

JS type and name resolution #36

Open sandersn opened 4 years ago

sandersn commented 4 years ago

This document came out of conversations with Eli, who pointed out that we don't have a good description of how types are resolved. The current handbook just hopes that type references will "just work", so omits any discussion.

Once I got started writing a reference page, the level of detail is right for explaining name resolution JS as well. I didn't finish this, but I wanted to send the type resolution explanation out for review first. I can cut the name resolution sections for later if needed.