mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Fix build errors
I ran `npm test` a few times after that Teams refactor, but apparently I forgot to run it after everything else...
This commit is contained in:
parent
0990e13c2d
commit
aeedbe34b9
|
|
@ -6,7 +6,7 @@ export default configure([
|
|||
{
|
||||
ignores: [
|
||||
'caches/**',
|
||||
'play.pokemonshowdown.com/config/config-test.js',
|
||||
'play.pokemonshowdown.com/config/*',
|
||||
'play.pokemonshowdown.com/src/battle-log-misc.js',
|
||||
'play.pokemonshowdown.com/js/replay-embed.js',
|
||||
],
|
||||
|
|
|
|||
|
|
@ -31,8 +31,9 @@
|
|||
import { BattleSceneStub } from './battle-scene-stub';
|
||||
import { BattleLog } from './battle-log';
|
||||
import { BattleScene, type PokemonSprite, BattleStatusAnims } from './battle-animations';
|
||||
import { Dex, Teams, toID, toUserid, type ID, type ModdedDex } from './battle-dex';
|
||||
import { Dex, toID, toUserid, type ID, type ModdedDex } from './battle-dex';
|
||||
import { BattleTextParser, type Args, type KWArgs, type SideID } from './battle-text-parser';
|
||||
import { Teams } from './battle-teams';
|
||||
declare const app: { user: AnyObject, rooms: AnyObject, ignore?: AnyObject } | undefined;
|
||||
|
||||
/** [id, element?, ...misc] */
|
||||
|
|
|
|||
|
|
@ -14,9 +14,10 @@ import { PSModel, PSStreamModel } from './client-core';
|
|||
import type { PSRoomPanel, PSRouter } from './panels';
|
||||
import { ChatRoom } from './panel-chat';
|
||||
import type { MainMenuRoom } from './panel-mainmenu';
|
||||
import { Dex, Teams, toID, type ID } from './battle-dex';
|
||||
import { Dex, toID, type ID } from './battle-dex';
|
||||
import { BattleTextParser, type Args } from './battle-text-parser';
|
||||
import type { BattleRoom } from './panel-battle';
|
||||
import { Teams } from './battle-teams';
|
||||
|
||||
declare const BattleTextAFD: any;
|
||||
declare const BattleTextNotAFD: any;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
import { PS, PSRoom, type Team } from "./client-main";
|
||||
import { PSPanelWrapper, PSRoomPanel } from "./panels";
|
||||
import { PSTeambuilder, TeamBox } from "./panel-teamdropdown";
|
||||
import { Dex, PSUtils, Teams, toID, type ID } from "./battle-dex";
|
||||
import { Dex, PSUtils, toID, type ID } from "./battle-dex";
|
||||
import { Teams } from "./battle-teams";
|
||||
|
||||
class TeambuilderRoom extends PSRoom {
|
||||
readonly DEFAULT_FORMAT = `gen${Dex.gen}` as ID;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,9 @@
|
|||
|
||||
import { PS, type Team } from "./client-main";
|
||||
import { PSIcon, PSPanelWrapper, PSRoomPanel } from "./panels";
|
||||
import { Dex, toID, type ID, Teams } from "./battle-dex";
|
||||
import { Dex, toID, type ID } from "./battle-dex";
|
||||
import { BattleNatures, BattleStatIDs, type StatNameExceptHP } from "./battle-dex-data";
|
||||
import { Teams } from "./battle-teams";
|
||||
|
||||
export class PSTeambuilder {
|
||||
static exportPackedTeam(team: Team, newFormat?: boolean) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user