Skip to content

Commit

Permalink
chore: Remove not used options from types
Browse files Browse the repository at this point in the history
  • Loading branch information
TDP17 authored and SBoudrias committed Jul 5, 2022
1 parent 061ea29 commit 00a900f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/input/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import chalk from 'chalk';
export type InputConfig = AsyncPromptConfig & {
default?: string;
transformer?: (value: string, { isFinal }: { isFinal: boolean }) => string;
filter?: (input: string) => string
};

export default createPrompt<string, InputConfig>((config, done) => {
Expand Down
2 changes: 0 additions & 2 deletions packages/rawlist/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import chalk from 'chalk';
const numberRegex = /[0-9]+/;

type RawlistConfig = AsyncPromptConfig & {
default?: number;
choices: { value: string; name?: string; key?: string }[];
filter?: (input: string) => string;
};

export default createPrompt<string, RawlistConfig>((config, done) => {
Expand Down

0 comments on commit 00a900f

Please sign in to comment.