fix(types): unblock tsgo baseline for plugin routes and harness

This commit is contained in:
Tak Hoffman
2026-03-02 10:48:16 -06:00
parent 14e4575af5
commit 66b407facb
3 changed files with 1 additions and 3 deletions

View File

@@ -7,7 +7,6 @@ import {
readJsonBodyWithLimit,
registerPluginHttpRoute,
registerWebhookTarget,
registerPluginHttpRoute,
rejectNonPostWebhookRequest,
isDangerousNameMatchingEnabled,
resolveAllowlistProviderRuntimeGroupPolicy,

View File

@@ -33,7 +33,6 @@ function createApi(params: {
logger: { info() {}, warn() {}, error() {} },
registerTool() {},
registerHook() {},
registerHttpHandler() {},
registerHttpRoute() {},
registerChannel() {},
registerGatewayMethod() {},

View File

@@ -128,7 +128,7 @@ export async function sendRequest(
authorization?: string;
method?: string;
},
) {
): Promise<ReturnType<typeof createResponse>> {
const response = createResponse();
await dispatchRequest(server, createRequest(params), response.res);
return response;