Skip to content

Commit

Permalink
uncommenting forgotten code
Browse files Browse the repository at this point in the history
  • Loading branch information
nktknshn committed Jun 6, 2023
1 parent e27cbdf commit e294e35
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/command/commands/with-subcommands/subs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable no-empty */
import { isObjectWithOwnProperty } from "../../../common/util";
import { Command } from "../command";

Expand Down Expand Up @@ -84,13 +83,14 @@ export function subs<
commandDesc: TCommandDesc,
description: string,
subcommands: CommandComposed<TCommands, TComposedArgv> | TCommands,
): CommandComposedWithSubcommands<
GetCommandNameFromDesc<TCommandDesc>,
TCommands,
EmptyRecord,
TComposedArgv
>;
// & { $: HelperObjectWithSubcommands<TCommands, TComposedArgv> };
):
& CommandComposedWithSubcommands<
GetCommandNameFromDesc<TCommandDesc>,
TCommands,
EmptyRecord,
TComposedArgv
>
& { $: HelperObjectWithSubcommands<TCommands, TComposedArgv> };

export function subs(
commandOrCommandDesc: CommandBasic | string,
Expand Down

0 comments on commit e294e35

Please sign in to comment.