coursera / courier

Data interchange for the modern web + mobile stack.
http://coursera.github.io/courier/
Apache License 2.0
98 stars 24 forks source link

Typescript: add basic enum reflection #42

Closed eboto closed 7 years ago

eboto commented 7 years ago

This change will add a .all property to all enum companion modules, making it possible to map over all possible values.

eboto commented 7 years ago

@amory-coursera would appreciate a quick review on this one!

eboto commented 7 years ago

OK nice catch on the copy of that docstring.

Also the ts docstring regression exists in master too. I'm going to figure out where that regression came in, make a testcase, and fix it in a separate PR.

Feel free to merge this one...