Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
♻️ Apply format on base ts
Browse files Browse the repository at this point in the history
  • Loading branch information
shuse2 committed Dec 10, 2018
1 parent 0ce6f1e commit e787e51
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ export default abstract class BaseCommand extends Command {

async init(): Promise<void> {
// Typing problem where constructor is not allow as Input<any> but it requires to be the type
const { flags } = this.parse(// tslint:disable-next-line no-any
(this.constructor as unknown) as flagParser.Input<any>);
const { flags } = this.parse(
// tslint:disable-next-line no-any
(this.constructor as unknown) as flagParser.Input<any>,
);
this.printFlags = flags;

process.stdout.on('error', handleEPIPE);
Expand Down

0 comments on commit e787e51

Please sign in to comment.