|
|
|
|
|
by davman
1590 days ago
|
|
I'd love to know more about how you're doing enums. We use JSDoc annotated JS code with tsc switched on to get the IDE integration, and I spent a huge chunk of time yesterday getting enums to work so that for example we could define a type where only certain enum values were valid (enum member types https://www.typescriptlang.org/docs/handbook/enums.html#unio... ) Was preparing a blog post on this enum work, but if you've solved it differently it'd be great to know :) |
|