提交 00409b06 编写于 作者: B Benjamin Pasero

web - 💄 command API

上级 2035150b
......@@ -209,7 +209,7 @@ interface IWorkbench {
* @param rest Parameters passed to the command function.
* @return A promise that resolves to the returned value of the given command.
*/
executeCommand<T>(command: string, ...rest: any[]): Promise<T | undefined>;
executeCommand(command: string, ...args: any[]): Promise<unknown>;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册