Contract of every wrapper display object class.
Implementations are supplied per class (no mixin); this interface makes the
compiler verify that nothing is missing.
Only members createjs itself does not provide at all belong here. pixi
and updateBlendModeForPixi have no createjs counterpart. mask (and
addEventListener / removeEventListener / removeAllEventListeners) are real
createjs.Xxx members - guaranteed to exist by extends, once a wrapper
class extends the real class - so redeclaring them here would just be a
second, redundant constraint on top of the override check extends
already performs. (This interface only guarantees a member's signature
exists when the class is used, not that the override behind it does the
right thing - that part is left to each class's own implementation and its
@ts-expect-error justification comments.)
Contract of every wrapper display object class. Implementations are supplied per class (no mixin); this interface makes the compiler verify that nothing is missing.
Only members createjs itself does not provide at all belong here.
pixiandupdateBlendModeForPixihave no createjs counterpart.mask(and addEventListener / removeEventListener / removeAllEventListeners) are real createjs.Xxx members - guaranteed to exist byextends, once a wrapper class extends the real class - so redeclaring them here would just be a second, redundant constraint on top of the override checkextendsalready performs. (This interface only guarantees a member's signature exists when the class is used, not that the override behind it does the right thing - that part is left to each class's own implementation and its@ts-expect-errorjustification comments.)