Skip to content

Commit

Permalink
Remove invalid optional from test
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-shigueo committed Nov 11, 2024
1 parent dcc7a46 commit 95e0401
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ts-rs/tests/integration/optional_field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ struct OptionalStruct {
#[ts(optional = nullable)]
c: Option<i32>,

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

e: Foo,
Expand Down

0 comments on commit 95e0401

Please sign in to comment.