Skip to content

Commit b54db8b

Browse files
authored
refactor: type improvement of file controller/index.ts (RooCodeInc#2810)
1 parent 7c7e86d commit b54db8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/controller/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Anthropic } from "@anthropic-ai/sdk"
22
import axios from "axios"
3+
import type { AxiosRequestConfig } from "axios"
34
import crypto from "crypto"
45
import { execa } from "execa"
56
import fs from "fs/promises"
@@ -1461,7 +1462,7 @@ Here is the project's README to help you get started:\n\n${mcpDetails.readmeCont
14611462
return []
14621463
}
14631464

1464-
const config: Record<string, any> = {}
1465+
const config: AxiosRequestConfig = {}
14651466
if (apiKey) {
14661467
config["headers"] = { Authorization: `Bearer ${apiKey}` }
14671468
}

0 commit comments

Comments
 (0)