Add missing type info to pipe data in TS

This commit is contained in:
Wilson Lin 2018-08-14 15:59:17 +12:00
parent 69e2a66ee9
commit a929268cc0
1 changed files with 2 additions and 2 deletions

View File

@ -59,11 +59,11 @@ export function launchHyperbuild (settings: IHyperbuildSettings, callback: Hyper
}
});
proc.stdout.on("data", data => {
proc.stdout.on("data", (data: Buffer) => {
stdout += data.toString("utf8");
});
proc.stderr.on("data", data => {
proc.stderr.on("data", (data: Buffer) => {
stderr += data.toString("utf8");
});