Support some non-structural (nominal) type matching · Issue #202 · microsoft/TypeScript

Proposal: support non-structural typing (e.g. new user-defined base-types, or some form of basic nominal typing). This allows programmer to have more refined types supporting frequently used idioms...