11 lines
302 B
JavaScript
11 lines
302 B
JavaScript
//// [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>
|