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:
@ -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()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user