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;
|
|
|
|
})();
|
2014-08-16 00:49:09 +02:00
|
|
|
Foo.prototype; // Foo<any, any, any>
|