From e3cbba0607076dd58ba0ace77ee3ed65cb19ed4c Mon Sep 17 00:00:00 2001 From: Azure <983547216@qq.com> Date: Wed, 17 Sep 2025 10:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96ObservableImpl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/state/impl/ObservableImpl.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/state/impl/ObservableImpl.ts b/src/core/state/impl/ObservableImpl.ts index c309a70..3253b64 100644 --- a/src/core/state/impl/ObservableImpl.ts +++ b/src/core/state/impl/ObservableImpl.ts @@ -10,7 +10,7 @@ import type { * 创建一个可观察对象,用于管理状态和事件。 * @template T - 需要处理的状态类型 * @example - * interface Todo { + * interface Todos { * id: number * text: string * done: boolean @@ -18,7 +18,7 @@ import type { * * interface AppState { * count: number - * todos: Todo[] + * todos: Todos[] * user: { * name: string * age: number