From ac01c3b03561776e158b040086e825dcdfcc5fe1 Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Tue, 11 Aug 2026 19:01:52 +0800 Subject: [PATCH] fix: lint --- packages/client/ui-settings/src/client/settings-scope.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/client/ui-settings/src/client/settings-scope.ts b/packages/client/ui-settings/src/client/settings-scope.ts index 256ef1b67c..e08e4da42e 100644 --- a/packages/client/ui-settings/src/client/settings-scope.ts +++ b/packages/client/ui-settings/src/client/settings-scope.ts @@ -31,6 +31,7 @@ import type {} from '@deepseek-ai/dsh-api-remotes/types' // never — the owning package's client-safe, type-only subpath supplies the // cordis `Events` entry (and with it the branded `SettingsNamespace`). import type {} from '@deepseek-ai/dsh-settings/types' +import type { TypeRTClientRemote } from '@deepseek-ai/dsh-type-meta' type SettingsFace = Pick @@ -239,7 +240,7 @@ export class SettingsScopeService extends Service { void controller.load() } const disposers = [ - ctx.get('remote')!.$on('settings/document-updated', refresh), + (ctx.get('remote') as TypeRTClientRemote).$on('settings/document-updated', refresh), ctx.on('connection/reset', () => { refresh() }), ] void controller.load()