diff --git a/api/@ohos.process.d.ts b/api/@ohos.process.d.ts index 02b7e123eadc87d0134c66a73260165ee024263e..775f0974c27a1210a98f41720d78d9fc336b1521 100644 --- a/api/@ohos.process.d.ts +++ b/api/@ohos.process.d.ts @@ -263,7 +263,7 @@ declare namespace process { * @return Return a child process object. */ function runCmd(command: string, - options?: { timeout : number, killSignal : number | string, maxBuffer : number }): ChildProcess; + options?: { timeout?: number, killSignal?: number | string, maxBuffer?: number }): ChildProcess; /** * Abort current process