I get this compile error:
property 'prototype' does not exist on value of type 'Base'
on the following class, how can I get typescript to recognise the prototype object as a type of native Object from a constructor Function?
interface IBase {
extend: any;
prototype : any;
}
declare var Base : IBase;
class Base implements IBase {
constructor() {}
public extend( mixins : any ) : void {
_.extend( this.prototype, mixins );
}
}