-
Notifications
You must be signed in to change notification settings - Fork 111
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
New release? #356
Comments
For context, I would love to configure it in fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("cargo:rustc-env=TS_RS_EXPORT_FILE=../../plugin-runtime-types/src/gen/index.ts");
Ok(())
} |
For #316, you can directly use the git repository as a workaround: ts-rs = { version = "9.0.1", git = "https://github.com/Aleph-Alpha/ts-rs.git", rev = "9763ca019509fa4bbbfbaada1ad105c7192dee0b" } For |
Not quite. It was opened in may, but the merge happened in August 1st Also, I think you mean Using this, together with the change to |
@gustavo-shigueo setting (Using the latest 10.0.0 release) |
Okay, it seems to be working by keeping #[derive(Debug, Clone, Serialize, Deserialize, Default, TS)]
#[serde(default, rename_all = "camelCase")]
#[ts(export, export_to="index.ts")]
pub struct Settings { The commit, if curious: yaakapp/app@53b8463 Thanks for the help y'all. This is an amazing project :) |
#316 was merged back in May but not yet released (according to CHANGELOG.md). Can we get a new release for this?
It's getting painful to re-export 70+ types.
The text was updated successfully, but these errors were encountered: