mirror of
https://github.com/xazukx/ts-rs.git
synced 2026-11-19 22:40:25 +00:00
fix list test
This commit is contained in:
+1
-2
@@ -7,6 +7,5 @@ fn list() {
|
||||
data: Option<Vec<u32>>
|
||||
}
|
||||
|
||||
println!("{:?}", List::decl());
|
||||
assert_eq!(List::decl(), "");
|
||||
assert_eq!(List::decl(&[]), "interface List {\n data: Array<number> | null,\n}");
|
||||
}
|
||||
Reference in New Issue
Block a user