sandersn / mini-typescript

A miniature model of the Typescript compiler, intended to teach the structure of the real Typescript compiler
MIT License
1.14k stars 61 forks source link

Clarification for the "Add type aliases" exercise #17

Closed imteekay closed 1 year ago

imteekay commented 1 year ago

Hey! I'm working on the next exercise for the mini-typescript and it's the "Add type aliases" one. But I'm not sure if it's already implemented.

What should I do next in this exercise, @sandersn? Thank you!

sandersn commented 1 year ago

Hah, you're right. As a follow-up you could consider adding interface support, which requires both type and interface to be treated (nearly) the same -- something that the code currently does not support. It would be quite similar to adding both var and let.

sandersn commented 1 year ago

Done