fix: remove 10 unused type-only imports and declarations (#22696)

This commit is contained in:
Kit Langton
2026-04-16 02:17:59 +00:00
committed by GitHub
parent 62ddb9d3ad
commit cf423d2769
10 changed files with 2 additions and 17 deletions
@@ -1,10 +1,3 @@
type Msg = {
file: string
spec: string
target: string
id: string
}
const raw = process.argv[2]
if (!raw) throw new Error("Missing worker payload")
@@ -1,6 +1,5 @@
import { test, expect, mock, beforeEach } from "bun:test"
import { Effect } from "effect"
import type { MCP as MCPNS } from "../../src/mcp/index"
// Mock UnauthorizedError to match the SDK's class
class MockUnauthorizedError extends Error {
@@ -14,7 +14,6 @@ import { Permission } from "../../src/permission"
import { Plugin } from "../../src/plugin"
import { Provider as ProviderSvc } from "../../src/provider"
import { Env } from "../../src/env"
import type { Provider } from "../../src/provider"
import { ModelID, ProviderID } from "../../src/provider/schema"
import { Question } from "../../src/question"
import { Todo } from "../../src/session/todo"