Commit ae7aa05

Khải <hvksmr1996@gmail.com>
2021-05-19 08:00:34
Why does `cd` lacks return type? (#95)
* Why does `cd` lacks return type? * `cd` does not return `Promise`
1 parent 75857f8
Changed files (1)
index.d.ts
@@ -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[] }