From 0ace1fb26c48f8d3703fa5a48aa4a5458e19be3a Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Mon, 23 Mar 2026 14:08:42 +0800 Subject: [PATCH] fix(stage-ui-three): type error --- .../stage-ui-three/src/composables/vrm/utils/eye-motions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stage-ui-three/src/composables/vrm/utils/eye-motions.ts b/packages/stage-ui-three/src/composables/vrm/utils/eye-motions.ts index e97a8a3fd..e89e35e12 100644 --- a/packages/stage-ui-three/src/composables/vrm/utils/eye-motions.ts +++ b/packages/stage-ui-three/src/composables/vrm/utils/eye-motions.ts @@ -28,5 +28,5 @@ export function randomSaccadeInterval(): number { return EYE_SACCADE_INT_P[i][1] + Math.random() * EYE_SACCADE_INT_STEP } } - return EYE_SACCADE_INT_P.at(-1)[1] + Math.random() * EYE_SACCADE_INT_STEP + return EYE_SACCADE_INT_P.at(-1)![1] + Math.random() * EYE_SACCADE_INT_STEP }