-
@boring_cactus this is also because Typescript does structural typing - in Rust,
enum Foo1 {A, B, C}andenum Foo2 {A, B, C}are not the same thing, even though they contain the same stuff.
enum Foo1 {A, B, C} and enum Foo2 {A, B, C} are not the same thing, even though they contain the same stuff.