Open pboyer opened 7 years ago
Something similar to this would allow us to still have custom types for users, but still have simplicity in replication.
interface Qux { foo : string; } def baz(a : Qux){ return a.foo; }
https://www.typescriptlang.org/docs/handbook/interfaces.html
They could also support inheritance via a similar mechanism to Go:
interface Solid { Geometry; Volume() : number; }
Something similar to this would allow us to still have custom types for users, but still have simplicity in replication.
https://www.typescriptlang.org/docs/handbook/interfaces.html