Skip to content

Commit

Permalink
Use typeof InquirerSeparator so it has a call signature type
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Dec 13, 2024
1 parent 50e4b82 commit 68728be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/lib/prompts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import inquirerSearch from '@inquirer/search'
import inquirerSelect, { Separator as InquirerSeparator } from '@inquirer/select'

declare namespace Prompts {
export type Separator = InquirerSeparator
export type Separator = typeof InquirerSeparator
export const Separator: Separator
export const confirm: typeof inquirerConfirm
export const input: typeof inquirerInput
Expand Down

0 comments on commit 68728be

Please sign in to comment.