mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01: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