Skip to content

Commit 92d7b11

Browse files
committed
Fix ts annotation for CharArray
1 parent 86c1dd8 commit 92d7b11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mavlink-bindgen/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ impl MavMessage {
717717
)
718718
} else if matches!(field.mavtype, MavType::CharArray(_)) {
719719
quote!(
720-
#[cfg_attr(feature = "ts", ts(type = "string"))]
720+
#[cfg_attr(feature = "ts", ts(type = "Array<number>"))]
721721
)
722722
} else {
723723
quote!()

0 commit comments

Comments
 (0)