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

5 lines
90 B
TypeScript

class C<T> {
x: T;
}
C.prototype.x.boo; // No error, prototype is instantiated to any