Apply Biome

This commit is contained in:
NightKev 2025-07-27 20:39:38 -07:00
parent 0449b3f2ea
commit 9b4b286409
2 changed files with 30 additions and 30 deletions

View File

@ -1,7 +1,7 @@
import "phaser"; import "phaser";
declare module "phaser" { declare module "phaser" {
namespace GameObjects { namespace GameObjects {
interface GameObject { interface GameObject {
width: number; width: number;
@ -16,45 +16,45 @@ declare module "phaser" {
y: number; y: number;
} }
interface Container { interface Container {
/** /**
* Sets this object's position relative to another object with a given offset * Sets this object's position relative to another object with a given offset
*/ */
setPositionRelative(guideObject: any, x: number, y: number): this; setPositionRelative(guideObject: any, x: number, y: number): this;
} }
interface Sprite { interface Sprite {
/** /**
* Sets this object's position relative to another object with a given offset * Sets this object's position relative to another object with a given offset
*/ */
setPositionRelative(guideObject: any, x: number, y: number): this; setPositionRelative(guideObject: any, x: number, y: number): this;
} }
interface Image { interface Image {
/** /**
* Sets this object's position relative to another object with a given offset * Sets this object's position relative to another object with a given offset
*/ */
setPositionRelative(guideObject: any, x: number, y: number): this; setPositionRelative(guideObject: any, x: number, y: number): this;
} }
interface NineSlice { interface NineSlice {
/** /**
* Sets this object's position relative to another object with a given offset * Sets this object's position relative to another object with a given offset
*/ */
setPositionRelative(guideObject: any, x: number, y: number): this; setPositionRelative(guideObject: any, x: number, y: number): this;
} }
interface Text { interface Text {
/** /**
* Sets this object's position relative to another object with a given offset * Sets this object's position relative to another object with a given offset
*/ */
setPositionRelative(guideObject: any, x: number, y: number): this; setPositionRelative(guideObject: any, x: number, y: number): this;
} }
interface Rectangle { interface Rectangle {
/** /**
* Sets this object's position relative to another object with a given offset * Sets this object's position relative to another object with a given offset
*/ */
setPositionRelative(guideObject: any, x: number, y: number): this; setPositionRelative(guideObject: any, x: number, y: number): this;
} }
} }
namespace Input { namespace Input {
namespace Gamepad { namespace Gamepad {
interface GamepadPlugin { interface GamepadPlugin {
/** /**

18
src/vite.env.d.ts vendored
View File

@ -1,16 +1,16 @@
/// <reference types="vite/client" /> /// <reference types="vite/client" />
interface ImportMetaEnv { interface ImportMetaEnv {
readonly VITE_PORT?: string; readonly VITE_PORT?: string;
readonly VITE_BYPASS_LOGIN?: string; readonly VITE_BYPASS_LOGIN?: string;
readonly VITE_BYPASS_TUTORIAL?: string; readonly VITE_BYPASS_TUTORIAL?: string;
readonly VITE_API_BASE_URL?: string; readonly VITE_API_BASE_URL?: string;
readonly VITE_SERVER_URL?: string; readonly VITE_SERVER_URL?: string;
readonly VITE_DISCORD_CLIENT_ID?: string; readonly VITE_DISCORD_CLIENT_ID?: string;
readonly VITE_GOOGLE_CLIENT_ID?: string; readonly VITE_GOOGLE_CLIENT_ID?: string;
readonly VITE_I18N_DEBUG?: string; readonly VITE_I18N_DEBUG?: string;
} }
interface ImportMeta { interface ImportMeta {
readonly env: ImportMetaEnv readonly env: ImportMetaEnv;
} }