Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support inline and flatten for generic types #56

Closed
NyxCode opened this issue Nov 14, 2021 · 1 comment · Fixed by #212
Closed

Support inline and flatten for generic types #56

NyxCode opened this issue Nov 14, 2021 · 1 comment · Fixed by #212
Labels
bug Something isn't working

Comments

@NyxCode
Copy link
Collaborator

NyxCode commented Nov 14, 2021

Currently, inlining fails to take the used generic type argument into account:

struct X<T> {
  t: T
}
struct Y {
  #[ts(inline)]
  x1: X<i32>,
  #[ts(flatten)]
  x2: X<i32>
}
@NyxCode NyxCode added the bug Something isn't working label Nov 21, 2021
@ghost
Copy link

ghost commented Jul 24, 2023

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant