Skip to content

Commit

Permalink
Fix (@inquirer/prompts): Fix missing Separator from the export
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Apr 16, 2024
1 parent 3ae4ddd commit b1b175c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/prompts/prompts.test.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
password,
rawlist,
select,
Separator,
} from './src/index.mjs';

describe('@inquirer/prompts', () => {
Expand All @@ -21,6 +22,7 @@ describe('@inquirer/prompts', () => {
expect(password).toBeTypeOf('function');
expect(rawlist).toBeTypeOf('function');
expect(select).toBeTypeOf('function');
expect(Separator).toBeTypeOf('function');
});
});

Expand Down
4 changes: 2 additions & 2 deletions packages/prompts/src/index.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import checkbox from '@inquirer/checkbox';
import checkbox, { Separator } from '@inquirer/checkbox';
import confirm from '@inquirer/confirm';
import editor from '@inquirer/editor';
import expand from '@inquirer/expand';
Expand All @@ -7,4 +7,4 @@ import password from '@inquirer/password';
import rawlist from '@inquirer/rawlist';
import select from '@inquirer/select';

export { checkbox, confirm, editor, expand, input, password, rawlist, select };
export { checkbox, confirm, editor, expand, input, password, rawlist, select, Separator };

0 comments on commit b1b175c

Please sign in to comment.