mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-11-17 00:31:22 +01:00
* Replace various `scene` pass-arounds with global scene variable * Modify tests * Add scene back to `fade[in|out]()` calls Co-authored-by: Moka <54149968+MokaStitcher@users.noreply.github.com> * Fix Bug Superfan ME test Co-authored-by: Moka <54149968+MokaStitcher@users.noreply.github.com> * Re-enable fixed test Co-authored-by: Moka <54149968+MokaStitcher@users.noreply.github.com> * Rename `gScene` to `globalScene` * Move `globalScene` to its own file to fix import/async issues * Fix `SelectModifierPhase` tests * Fix ME tests by removing `scene` from `expect()`s * Resolve merge issues * Remove tsdocs referencing `scene` params Remove missed instances of `.scene` * Remove unnecessary `globalScene` usage in `loading-scene.ts` * Fix merge conflicts * Attempt to fix circular import issue * Found the source of the import issue * Fix merge issues --------- Co-authored-by: Moka <54149968+MokaStitcher@users.noreply.github.com>
9 lines
264 B
TypeScript
9 lines
264 B
TypeScript
import type { TOptions } from "i18next";
|
|
|
|
// Module declared to make referencing keys in the localization files type-safe.
|
|
declare module "i18next" {
|
|
interface TFunction {
|
|
(key: string | string[], options?: TOptions & Record<string, unknown>): string;
|
|
}
|
|
}
|