Skip to content

Commit

Permalink
Use types instead of interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
escritorio-gustavo authored Jan 25, 2024
1 parent d733647 commit 7925f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts-rs/tests/singlefile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ fn test_singlefile() {

assert_eq!(
out,
r#"export interface Alpha { b: Beta, }
r#"export type Alpha = { b: Beta, }
export interface Beta { x: boolean, }
export type Beta = { x: boolean, }
"#
);
}

0 comments on commit 7925f0e

Please sign in to comment.