Skip to content

Commit

Permalink
Why does cd lacks return type? (#95)
Browse files Browse the repository at this point in the history
* Why does `cd` lacks return type?

* `cd` does not return `Promise`
  • Loading branch information
KSXGitHub authored May 19, 2021
1 parent 75857f8 commit ae7aa05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface $ {

export const $: $

export function cd(path: string)
export function cd(path: string): void

export function question(query?: string, options?: QuestionOptions): Promise<string>
export type QuestionOptions = { choices: string[] }
Expand Down

0 comments on commit ae7aa05

Please sign in to comment.