11 lines
280 B
JavaScript
11 lines
280 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;
|