> As far as I understand classes are the only real way to get nominal typing in TypeScript.
Although classes and instances are ultimately structural, right?
let foo = new Foo();
assert(foo.constructor == Foo);