mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 12:17:27 +00:00
fix: resolve TypeScript errors in SDK and Slack package
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user