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
myEmptyUnion.ts(1,26): error TS4081: Exported type alias 'IMyEmptyUnion' has or is using private name ''.
myEmptyUnion.ts(1,26): error TS1005: '=' expected.
What did you want to happen?
I'd expect a compilable empty union class, or I'd expect Conjure spec layer to disallow empty unions.
More details
This bug was introduced with the version 5.6.0, looking at the diff 5.5.0...5.6.0, I suspect #247 might have caused it.
The text was updated successfully, but these errors were encountered:
What happened?
When we have a union type with no sub-types:
The following class is generated:
And
compileTypeScript
step fails with:What did you want to happen?
I'd expect a compilable empty union class, or I'd expect Conjure spec layer to disallow empty unions.
More details
This bug was introduced with the version 5.6.0, looking at the diff 5.5.0...5.6.0, I suspect #247 might have caused it.
The text was updated successfully, but these errors were encountered: