Skip to content

Commit 95e0401

Browse files
Remove invalid optional from test
1 parent dcc7a46 commit 95e0401

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ts-rs/tests/integration/optional_field.rs

-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ struct OptionalStruct {
100100
#[ts(optional = nullable)]
101101
c: Option<i32>,
102102

103-
// `#[ts(optional)]` on a type that isn't `Option<T>` does nothing
104-
#[ts(optional = nullable)]
105103
d: i32,
106104

107105
e: Foo,

0 commit comments

Comments
 (0)