TypeScript/tests/baselines/reference/constraintsUsedInPrototypeProperty.js

12 lines
302 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [constraintsUsedInPrototypeProperty.ts]
class Foo<T extends number, U, V extends string> { }
Foo.prototype; // Foo<any, any, any>
//// [constraintsUsedInPrototypeProperty.js]
var Foo = (function () {
function Foo() {
}
return Foo;
})();
Foo.prototype; // Foo<any, any, any>