TypeScript/tests/cases/compiler/typeOfPrototype.ts
2014-07-12 17:30:19 -07:00

6 lines
100 B
TypeScript

class Foo {
bar = 3;
static bar = '';
}
Foo.prototype.bar = undefined; // Should be OK