Skip to content

Commit f70254d

Browse files
alan-agius4hansl
authored andcommitted
refactor: use common type for stdout and stderr
1 parent 04ed301 commit f70254d

File tree

1 file changed

+3
-2
lines changed
  • packages/angular_devkit/benchmark/src

1 file changed

+3
-2
lines changed

packages/angular_devkit/benchmark/src/main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
import { logging, tags, terminal } from '@angular-devkit/core';
11+
import { ProcessOutput } from '@angular-devkit/core/node';
1112
import { appendFileSync, writeFileSync } from 'fs';
1213
import * as minimist from 'minimist';
1314
import { filter, map, toArray } from 'rxjs/operators';
@@ -19,8 +20,8 @@ import { runBenchmark } from '../src/run-benchmark';
1920

2021
export interface MainOptions {
2122
args: string[];
22-
stdout?: { write(buffer: string | Buffer): boolean };
23-
stderr?: { write(buffer: string | Buffer): boolean };
23+
stdout?: ProcessOutput;
24+
stderr?: ProcessOutput;
2425
}
2526

2627
export async function main({

0 commit comments

Comments
 (0)