style: fix lint

5 jobs for feat/mouseEvent in 12 minutes and 13 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Install
passed #95388
linux
npm_ci

00:01:02

 
  Rs Check Lint
passed #95389
linux
rs_check_lint

00:04:23

 
  Wasm
passed #95390
linux
wasm_build

00:05:50

 
  Ts Check Lint
failed #95391
linux
ts_check_lint

00:00:56

 
  Build
skipped #95392
linux
npm_build
 
Name Stage Failure
failed
ts_check_lint Ts Check Lint
Downloading artifacts from coordinator... ok        id=95388 responseStatus=200 OK token=cCU-xMpw
Executing "step_script" stage of the job script
Using docker image sha256:a13cfbac519cc80093523bb263f994859ab87f528558ed1148636e9268c30f60 for git-registry.mycard.moe/mycard/docker-runner-base:master-x86 with digest git-registry.mycard.moe/mycard/docker-runner-base@sha256:333cf83972b499940350d5bcad14058eca34c4ef3bca96fdd2b0cae71e37f031 ...
$ npx tsc
src/ui/Side/index.tsx(118,19): error TS2322: Type '{ key: "main" | "extra" | "side"; type: "main" | "extra" | "side"; cards: CardMeta[]; canAdd: (card: CardMeta, type: Type, _source: "search" | Type) => { ...; }; onChange: (card: CardMeta, source: "search" | Type, destination: Type) => void; onElementClick: (card: any) => void; }' is not assignable to type 'IntrinsicAttributes & { type: Type; cards: CardMeta[]; canAdd: (card: CardMeta, type: Type, source: "search" | Type) => { ...; }; onChange: (card: CardMeta, source: "search" | Type, destination: Type) => void; onElementMouseUp: (event: DeckCardMouseUpEvent) => void; }'.
Property 'onElementClick' does not exist on type 'IntrinsicAttributes & { type: Type; cards: CardMeta[]; canAdd: (card: CardMeta, type: Type, source: "search" | Type) => { ...; }; onChange: (card: CardMeta, source: "search" | Type, destination: Type) => void; onElementMouseUp: (event: DeckCardMouseUpEvent) => void; }'.
src/ui/Side/index.tsx(118,36): error TS7006: Parameter 'card' implicitly has an 'any' type.
Cleaning up file based variables
ERROR: Job failed: exit code 1