use square not curly brackets
This commit is contained in:
parent
ad576d73db
commit
ab5eff8589
1 changed files with 2 additions and 2 deletions
|
@ -254,11 +254,11 @@ export class RemoteTerminalChannelClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
updateTitle(id: number, title: string): Promise<string> {
|
updateTitle(id: number, title: string): Promise<string> {
|
||||||
return this._channel.call('$updateTitle', { id, title });
|
return this._channel.call('$updateTitle', [id, title]);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateIcon(id: number, icon: string): Promise<string> {
|
updateIcon(id: number, icon: string): Promise<string> {
|
||||||
return this._channel.call('$updateIcon', { id, icon });
|
return this._channel.call('$updateIcon', [id, icon]);
|
||||||
}
|
}
|
||||||
|
|
||||||
getTerminalLayoutInfo(): Promise<ITerminalsLayoutInfo | undefined> {
|
getTerminalLayoutInfo(): Promise<ITerminalsLayoutInfo | undefined> {
|
||||||
|
|
Loading…
Reference in a new issue