diff --git a/src/battle-scene.ts b/src/battle-scene.ts index 6c60a0caa20..a7679f4479f 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -452,9 +452,17 @@ export class BattleScene extends SceneBase { true, ); - //@ts-expect-error (the defined types in the package are incromplete...) + // TODO: fix the typing in a `.d.ts` file so the `ts-ignore` is no longer necessary + /* biome-ignore lint/suspicious/noTsIgnore: ts-ignore is necessary because `tsc` and `tsgo` require the directive to be on different lines, + * meaning `@ts-expect-error` is guaranteed to emit a diagnostic on one of the lines depending on which one is used + */ + // @ts-ignore transition.transit({ mode: "blinds", + /* biome-ignore lint/suspicious/noTsIgnore: ts-ignore is necessary because `tsc` and `tsgo` require the directive to be on different lines, + * meaning `@ts-expect-error` is guaranteed to emit a diagnostic on one of the lines depending on which one is used + */ + // @ts-ignore ease: "Cubic.easeInOut", duration: 1250, });