From d52c2fbb8e223f8804f9f50888a24f9cb57700e7 Mon Sep 17 00:00:00 2001 From: Rex Date: Tue, 1 Oct 2024 12:44:47 +0800 Subject: [PATCH] Add type def --- plugins/utils/bounds/GetBoundsOfGameObjects.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 plugins/utils/bounds/GetBoundsOfGameObjects.d.ts diff --git a/plugins/utils/bounds/GetBoundsOfGameObjects.d.ts b/plugins/utils/bounds/GetBoundsOfGameObjects.d.ts new file mode 100644 index 0000000000..fe7256a3f0 --- /dev/null +++ b/plugins/utils/bounds/GetBoundsOfGameObjects.d.ts @@ -0,0 +1,6 @@ +export default GetBoundsOfGameObjects; + +declare function GetBoundsOfGameObjects( + gameObjects: Phaser.GameObjects.GameObject[], + out: Phaser.Geom.Rectangle +): Phaser.Geom.Rectangle;