fix: resolve TypeScript errors in SDK and Slack package

This commit is contained in:
Dax Raad
2025-10-14 02:54:37 -04:00
parent 1923ddab6e
commit 48057c2c21
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ export async function createOpencodeServer(options?: ServerOptions) {
throw new Error(`Failed to parse server url from output: ${line}`)
}
clearTimeout(id)
resolve(match[1])
resolve(match[1]!)
return
}
}