Skip to content

Commit e9524da

Browse files
authored
feat: turn Help partial for helpConfiguration option (#1253)
Simple PR to make `Help` partial in `helpConfiguration` option since Commander don't requires all methods in `.configureHelp`
2 parents a1b99d7 + 7b489e6 commit e9524da

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/shaggy-pans-yawn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'nest-commander': patch
3+
---
4+
5+
Make helpConfiguration typing Partial

packages/nest-commander/src/command-factory.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface CommandFactoryRunOptions
2323
enablePositionalOptions?: boolean;
2424
enablePassThroughOptions?: boolean;
2525
outputConfiguration?: OutputConfiguration;
26-
helpConfiguration?: Help;
26+
helpConfiguration?: Partial<Help>;
2727
version?: string;
2828

2929
/**

0 commit comments

Comments
 (0)