@pkmn/dex-types 0.10.2 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -85,8 +85,8 @@ export interface ItemData extends EffectData {
|
|
|
85
85
|
isGem?: boolean;
|
|
86
86
|
isPokeball?: boolean;
|
|
87
87
|
isPrimalOrb?: boolean;
|
|
88
|
-
megaStone?: string;
|
|
89
|
-
megaEvolves?: string;
|
|
88
|
+
megaStone?: string | string[];
|
|
89
|
+
megaEvolves?: string | string[];
|
|
90
90
|
naturalGift?: {basePower: number; type: TypeName};
|
|
91
91
|
onDrive?: string;
|
|
92
92
|
onMemory?: string;
|
|
@@ -371,8 +371,8 @@ export interface Item extends Readonly<BasicEffect<ItemName> & ItemData> {
|
|
|
371
371
|
readonly effectType: 'Item';
|
|
372
372
|
readonly kind: 'Item';
|
|
373
373
|
readonly forcedForme?: SpeciesName;
|
|
374
|
-
readonly megaStone?: SpeciesName;
|
|
375
|
-
readonly megaEvolves?: SpeciesName;
|
|
374
|
+
readonly megaStone?: SpeciesName | SpeciesName[];
|
|
375
|
+
readonly megaEvolves?: SpeciesName | SpeciesName[];
|
|
376
376
|
readonly onDrive?: TypeName;
|
|
377
377
|
readonly onMemory?: TypeName;
|
|
378
378
|
readonly onPlate?: TypeName;
|