mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 07:42:04 +00:00
fix(browser): restore tsc types
This commit is contained in:
parent
1a51257b71
commit
0e94c6b025
7 changed files with 45 additions and 14 deletions
|
|
@ -25,7 +25,7 @@ async function readStdin(): Promise<string> {
|
|||
const chunks: string[] = [];
|
||||
return await new Promise((resolve, reject) => {
|
||||
process.stdin.setEncoding("utf8");
|
||||
process.stdin.on("data", (chunk) => chunks.push(chunk));
|
||||
process.stdin.on("data", (chunk) => chunks.push(String(chunk)));
|
||||
process.stdin.on("end", () => resolve(chunks.join("")));
|
||||
process.stdin.on("error", reject);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue