Skip to content

Commit

Permalink
Use InstanceType<typeof Separator>
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Dec 13, 2024
1 parent 1017b31 commit 216e4e9
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 search from '@inquirer/search'
import select, { Separator } from '@inquirer/select'

declare global {
type Separator = typeof Separator
type Separator = InstanceType<typeof Separator>
}
declare const promptsModule: {
Separator: typeof Separator
Expand Down

0 comments on commit 216e4e9

Please sign in to comment.