Skip to content

Commit 9bd143a

Browse files
committed
listr types
1 parent 40094d5 commit 9bd143a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

packages/apollo/src/commands/service/check.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ export default class ServiceCheck extends ProjectCommand {
578578
//
579579
// @see https://github.com/SamVerschueren/listr#renderer
580580
renderer: context.flags.compactOutput
581-
? CompactRenderer
581+
? <any>CompactRenderer
582582
: context.flags.markdown || context.flags.json
583583
? "silent"
584584
: "default"

packages/apollo/src/utils/CompactRenderer.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
import { ListrOptions } from "listr";
2+
13
export class CompactRenderer {
2-
constructor(tasks, options) {
4+
_tasks: ReadonlyArray<any>;
5+
6+
constructor(tasks: ReadonlyArray<any>, options: ListrOptions) {
37
this._tasks = tasks;
48
}
59

0 commit comments

Comments
 (0)