[ts][phaser] Fix wrong type definition.

This commit is contained in:
Davide Tantillo 2025-03-12 10:36:48 +01:00
parent 56823c5ca5
commit 67488d7c95

View File

@ -59,7 +59,7 @@ export function createMixin<
};
}
type ComputedSizeMixin = Mixin<Phaser.GameObjects.Components.Transform, Phaser.GameObjects.GameObject>;
type ComputedSizeMixin = Mixin<Phaser.GameObjects.Components.ComputedSize, Phaser.GameObjects.GameObject>;
export const ComputedSizeMixin: ComputedSizeMixin = createMixin<Phaser.GameObjects.Components.ComputedSize>(ComputedSize);
type DepthMixin = Mixin<Phaser.GameObjects.Components.Depth, Phaser.GameObjects.GameObject>;