You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have support for more consistent default export syntax when it comes to enums. I'm new to TypeScript so apologies if I'm missing something obvious but I can't see why
enumFoo{Bar,Baz}exportdefaultFoo;
should be fine when
defaultexportFoo{Bar,Baz}
isn't, when the latter syntax is allowed for things like classes and interfaces.
Like I say, I'm the opposite of a TypeScript expert but I can't see how adding support for the latter syntax would cause any problems and it would add a little bit more consistency and predictability which, all things being equal, are things that I, and I'm sure a lot of other people, value.
The text was updated successfully, but these errors were encountered:
It would be nice to have support for more consistent default export syntax when it comes to enums. I'm new to TypeScript so apologies if I'm missing something obvious but I can't see why
should be fine when
isn't, when the latter syntax is allowed for things like classes and interfaces.
Like I say, I'm the opposite of a TypeScript expert but I can't see how adding support for the latter syntax would cause any problems and it would add a little bit more consistency and predictability which, all things being equal, are things that I, and I'm sure a lot of other people, value.
The text was updated successfully, but these errors were encountered: