summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/opencode/src/util/filesystem.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/util/filesystem.ts b/packages/opencode/src/util/filesystem.ts
index 5c63af030..d2f22be52 100644
--- a/packages/opencode/src/util/filesystem.ts
+++ b/packages/opencode/src/util/filesystem.ts
@@ -30,7 +30,7 @@ export namespace Filesystem {
return readFile(p, "utf-8")
}
- export async function readJson<T>(p: string): Promise<T> {
+ export async function readJson<T = any>(p: string): Promise<T> {
return JSON.parse(await readFile(p, "utf-8"))
}