15 lines
237 B
TypeScript
15 lines
237 B
TypeScript
//// [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";
|