mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-14 04:05:39 -05:00
Fix onModifyTemplate signature
This will intentionally fail CI. It's my hope that #5664 will pass it.
This commit is contained in:
@@ -1037,7 +1037,7 @@ interface FormatsData extends EventMethods {
|
||||
onAfterMega?: (this: Battle, pokemon: Pokemon) => void
|
||||
onBegin?: (this: Battle) => void
|
||||
onChangeSet?: (this: ModdedDex, set: PokemonSet, format: Format, setHas?: AnyObject, teamHas?: AnyObject) => string[] | void
|
||||
onModifyTemplate?: (this: Battle, template: Template, target: Pokemon, source: Pokemon, effect: Effect) => Template | void
|
||||
onModifyTemplate?: (this: Battle, template: Template, target?: Pokemon, source?: Pokemon, effect?: Effect) => Template | void
|
||||
onStart?: (this: Battle) => void
|
||||
onTeamPreview?: (this: Battle) => void
|
||||
onValidateSet?: (this: ModdedDex, set: PokemonSet, format: Format, setHas: AnyObject, teamHas: AnyObject) => string[] | void
|
||||
|
||||
Reference in New Issue
Block a user