diff --git a/ts-rs/tests/integration/optional_field.rs b/ts-rs/tests/integration/optional_field.rs index 63fc6eae..fd57e17e 100644 --- a/ts-rs/tests/integration/optional_field.rs +++ b/ts-rs/tests/integration/optional_field.rs @@ -100,8 +100,6 @@ struct OptionalStruct { #[ts(optional = nullable)] c: Option, - // `#[ts(optional)]` on a type that isn't `Option` does nothing - #[ts(optional = nullable)] d: i32, e: Foo,