Skip to content

fix build

fix build #362

Triggered via push February 19, 2024 07:05
Status Failure
Total duration 3m 1s
Artifacts

test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build (16.x): data/mods/gen9ssb/scripts.ts#L1006
Type '{ isGrounded(this: Pokemon, negateImmunity: boolean | undefined): boolean | null; effectiveWeather(this: Pokemon): ID; getMoveTargets(move: any, target: any): { ...; }; }' is not assignable to type 'ModdedBattlePokemon'.
build (16.x): data/mods/gen9ssb/scripts.ts#L1006
Parameter 'move' implicitly has an 'any' type.
build (16.x): data/mods/gen9ssb/scripts.ts#L1006
Parameter 'target' implicitly has an 'any' type.
build (16.x): data/mods/gen9ssb/scripts.ts#L1015
Property 'alliesAndSelf' does not exist on type 'ModdedBattlePokemon'.
build (16.x): data/mods/gen9ssb/scripts.ts#L1018
Property 'foes' does not exist on type 'ModdedBattlePokemon'.
build (16.x): data/mods/gen9ssb/scripts.ts#L1021
Property 'battle' does not exist on type 'ModdedBattlePokemon'.
build (16.x): data/mods/gen9ssb/scripts.ts#L1025
Property 'adjacentAllies' does not exist on type 'ModdedBattlePokemon'.
build (16.x): data/mods/gen9ssb/scripts.ts#L1028
Property 'adjacentFoes' does not exist on type 'ModdedBattlePokemon'.
build (16.x): data/mods/gen9ssb/scripts.ts#L1030
Property 'battle' does not exist on type 'ModdedBattlePokemon'.
build (16.x): data/mods/gen9ssb/scripts.ts#L1034
Property 'alliesAndSelf' does not exist on type 'ModdedBattlePokemon'.
build (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.