|
@ -41,7 +41,7 @@ export function executeCommand( |
|
|
command: SupportedCommands, |
|
|
command: SupportedCommands, |
|
|
...args: T |
|
|
...args: T |
|
|
): Thenable<U> { |
|
|
): Thenable<U> { |
|
|
return commands.executeCommand<U>(command, args); |
|
|
|
|
|
|
|
|
return commands.executeCommand<U>(command, ...args); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export function executeCoreCommand<T = unknown, U = any>(command: CoreCommands, arg: T): Thenable<U>; |
|
|
export function executeCoreCommand<T = unknown, U = any>(command: CoreCommands, arg: T): Thenable<U>; |
|
|