fix small

5 jobs for feat/ai in 7 minutes and 36 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Install
passed #125222
linux
npm_ci

00:00:44

 
  Rs Check Lint
passed #125223
linux
rs_check_lint

00:02:12

 
  Wasm
passed #125224
linux
wasm_build

00:03:47

 
  Ts Check Lint
failed #125225
linux
ts_check_lint

00:00:51

 
  Build
skipped #125226
linux
npm_build
 
Name Stage Failure
failed
ts_check_lint Ts Check Lint
Downloading artifacts from coordinator... ok        id=125222 responseStatus=200 OK token=tkp3CuWr
Downloading artifacts for wasm_build (125224)...
Downloading artifacts from coordinator... ok
id=125224 responseStatus=200 OK token=6ay_YsvR
Executing "step_script" stage of the job script
Using docker image sha256:34f8748f4d55fd238f5c0d554720c0024205cb22ed3a05d2eb39de48cc76652f for git-registry.mycard.moe/mycard/docker-runner-base:latest with digest git-registry.mycard.moe/mycard/docker-runner-base@sha256:21fb4848687e8292002e745b50d401512ccd277c1831674c0b6a5a94456124cc ...
$ npx tsc
src/service/duel/agent.ts(4,61): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1