I'm having an issue when trying to override a generic method with an implementation, I think it's because the base type is more broad so it's not fully assignable to the implementation.
I'm not sure what I can do on this case, since the point of the static method is for it to return the overriden type. Strangely, everything else seems to work if I just remove the static method. Overriding emit doesn't seem to fix it. I'd be thankful if someone could point me on the right direction, thanks.
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.

