We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pub(crate) struct Scene { color: [f32; 4], }
currently becomes an array of uncertain length,
export interface Scene { color: Array<number>; }
It would be useful to be able to mark this e.g.
pub(crate) struct Scene { #[ts(tuple)] color: [f32; 4], }
to emit it as
export interface Scene { color: [number, number, number, number]; }
I tried my hand at implementing this myself, but got lost in macros...
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
currently becomes an array of uncertain length,
It would be useful to be able to mark this e.g.
to emit it as
I tried my hand at implementing this myself, but got lost in macros...
The text was updated successfully, but these errors were encountered: