We need to update the renderer for the class as a function return type.
Source example:
interface ClockConstructor {
new (hour: number, minute: number): any;
tick(): string;
}
interface ClockInterface {
tick(): any;
}
/**
* get clock class
* @returns clock class
* @doc UI
*/
function getClockClass(): ClockConstructor {
class Clock implements ClockInterface {
constructor(h: number, m: number) {}
tick() {
console.log("beep beep");
}
}
return Clock;
}
related to 8570515 and #59
We need to update the renderer for the class as a function return type.
Source example:
related to 8570515 and #59