chore(lint): satisfy the trailing-comma rule and drop dead oxlint directives

The Gateway client spec's synthetic Remote namespace now resolves under both
analyzers, so its typescript/no-unsafe-call suppressions report as unused.
This commit is contained in:
imccyu
2026-08-11 23:33:16 +08:00
parent df97e4ce2d
commit 92e817bf38
2 changed files with 1 additions and 5 deletions
@@ -226,9 +226,6 @@ describe('Client TypeRT API', () => {
descriptors: [maybeDescriptor()],
})
// The analyzers disagree on the key-remapped namespace projection: tsc
// resolves this method, oxlint reads it as an error type.
// oxlint-disable-next-line typescript/no-unsafe-call
await expect(ctx.remote.probe.maybe(undefined)).resolves.toBeUndefined()
expect(call).toHaveBeenNthCalledWith(
1,
@@ -237,7 +234,6 @@ describe('Client TypeRT API', () => {
{ args: {} },
expect.any(AbortSignal),
)
// oxlint-disable-next-line typescript/no-unsafe-call
await expect(ctx.remote.probe.maybe(null)).resolves.toBeNull()
expect(call).toHaveBeenNthCalledWith(
2,
+1 -1
View File
@@ -33,7 +33,7 @@ export type {
RpcRequest, RpcResponse, RpcResult, SessionId, SessionModels, SessionSearchItem,
SessionSummary, SettingsNamespaceView, SettingsPathOpView, SkillEntry, StreamChunk,
SubagentAddress, SubagentCatalog, TaskView, ToolCallView, ToolEventView, ToolResultView,
WorkspaceId, WorkspaceView
WorkspaceId, WorkspaceView,
} from '@deepseek-ai/dsh-client-connection/client'
declare module '@deepseek-ai/cordis' {