リファレンス型XYPositionXYPosition すべての位置は、x座標とy座標を持つオブジェクトに格納されます。 export type XYPosition = { x: number; y: number; };型