Skip to content

Commit

Permalink
Add missing type declaration for (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
svennergr committed Mar 9, 2022
1 parent 2adfc7e commit 08b5ca0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Expand Up @@ -59,6 +59,7 @@ type cd = (path: string) => void
type nothrow = (p: ProcessPromise<ProcessOutput>) => ProcessPromise<ProcessOutput>
type question = (query?: string, options?: QuestionOptions) => Promise<string>
type sleep = (ms: number) => Promise<void>
type quiet = (p: ProcessPromise<ProcessOutput>) => ProcessPromise<ProcessOutput>

export const $: $
export const argv: ParsedArgs
Expand All @@ -74,3 +75,4 @@ export const os: typeof _os
export const path: typeof _path
export const question: question
export const sleep: sleep
export const quiet: quiet

0 comments on commit 08b5ca0

Please sign in to comment.