16 lines
237 B
JavaScript
16 lines
237 B
JavaScript
//// [prototypeOnConstructorFunctions.ts]
|
|
interface I1 {
|
|
const: new (options?, element?) => any;
|
|
}
|
|
|
|
|
|
var i: I1;
|
|
|
|
|
|
i.const.prototype.prop = "yo";
|
|
|
|
|
|
//// [prototypeOnConstructorFunctions.js]
|
|
var i;
|
|
i.const.prototype.prop = "yo";
|