# So like```nim # # inside mymod.nim # type MyType = object # x, y: int # mymod interface MyType # proc doThing(myType: MyType) = echo myType MyType requires: x: int y: int `$`(myType: MyType): string