refactor: unwrap ConfigMCP namespace + self-reexport (#22948)

This commit is contained in:
Kit Langton
2026-04-16 19:52:04 -04:00
committed by GitHub
parent c03fa36257
commit 5d47ea0918
10 changed files with 104 additions and 92 deletions

View File

@@ -39,7 +39,7 @@ export async function readText(p: string): Promise<string> {
return readFile(p, "utf-8")
}
export async function readJson<T = any>(p: string): Promise<T> {
export async function readJson<T = unknown>(p: string): Promise<T> {
return JSON.parse(await readFile(p, "utf-8"))
}