We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34fc9b8 commit 4cacd1aCopy full SHA for 4cacd1a
modules/utxo-bin/src/commands/formatString.ts
@@ -1,5 +1,3 @@
1
-import * as yargs from 'yargs';
2
-
3
import { ParserNode } from '../Parser';
4
import { formatTree } from '../format';
5
import { FormatTreeOrJson } from '../args';
@@ -9,7 +7,7 @@ export type FormatStringArgs = {
9
7
all: boolean;
10
8
};
11
12
-export function formatString(parsed: ParserNode, argv: yargs.Arguments<FormatStringArgs>): string {
+export function formatString(parsed: ParserNode, argv: FormatStringArgs): string {
13
switch (argv.format) {
14
case 'json':
15
return JSON.stringify(parsed, null, 2);
0 commit comments