Skip to content

Union Collection types for typescript transform #703

Answered by rubenvanassche
Sparclex asked this question in Q&A
Discussion options

You must be logged in to vote

I agree with what you're saying, but atm I'm not going to change data to only support multiple types in TypeScript since that would be only half (probably 1/20) of the work required. When we start supporting multiple types let's do it good from the start.

There's probably a quicker fix in the near future, I'm working on TypeScript transformer 3 which doesn't use data anymore for these kinds of constructs so it would transform the types correctly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sparclex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants