Skip to content

Commit 4cacd1a

Browse files
chore(utxo-bin): simplify formatString args type
Issue: BTC-1351
1 parent 34fc9b8 commit 4cacd1a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/utxo-bin/src/commands/formatString.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import * as yargs from 'yargs';
2-
31
import { ParserNode } from '../Parser';
42
import { formatTree } from '../format';
53
import { FormatTreeOrJson } from '../args';
@@ -9,7 +7,7 @@ export type FormatStringArgs = {
97
all: boolean;
108
};
119

12-
export function formatString(parsed: ParserNode, argv: yargs.Arguments<FormatStringArgs>): string {
10+
export function formatString(parsed: ParserNode, argv: FormatStringArgs): string {
1311
switch (argv.format) {
1412
case 'json':
1513
return JSON.stringify(parsed, null, 2);

0 commit comments

Comments
 (0)