Upgrade to ts-rs 11.0 for TS type fixes (#7581)

* Bump ts-rs from 10.1.0 to 11.0.1

* Fix breaking changes

* Fix tsc errors

* Update output

* Upgrade to kittycad-modeling-cmds 0.2.124 for ts-rs update

* Update parser snaps

* Update output of gridfinity_bins_stacking_lip sample

* Fix missing field in TS unit tests

* Fix tsc type error with fixed_size_grid project setting
This commit is contained in:
Jonathan Tran
2025-06-24 14:38:43 -04:00
committed by GitHub
parent e4941cb524
commit c7f0a6c2a0
387 changed files with 74834 additions and 24 deletions

View File

@ -188,6 +188,7 @@ impl<'de> serde::de::Deserialize<'de> for TypedPath {
impl ts_rs::TS for TypedPath {
type WithoutGenerics = Self;
type OptionInnerType = Self;
fn name() -> String {
"string".to_string()
@ -209,7 +210,7 @@ impl ts_rs::TS for TypedPath {
std::path::PathBuf::inline_flattened()
}
fn output_path() -> Option<&'static std::path::Path> {
fn output_path() -> Option<std::path::PathBuf> {
std::path::PathBuf::output_path()
}
}