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:
@@ -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,
|
||||
|
||||
@@ -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' {
|
||||
|
||||
Reference in New Issue
Block a user