From 22b79510eadbcd477dc177c758fec25f1401dfb1 Mon Sep 17 00:00:00 2001 From: Zenghai Liang Date: Wed, 14 Oct 2020 17:31:45 +0800 Subject: [PATCH] lint: add the parameter type --- terminus-ssh/src/components/sshSettingsTab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-ssh/src/components/sshSettingsTab.component.ts b/terminus-ssh/src/components/sshSettingsTab.component.ts index d86621e3..1b6538ca 100644 --- a/terminus-ssh/src/components/sshSettingsTab.component.ts +++ b/terminus-ssh/src/components/sshSettingsTab.component.ts @@ -46,7 +46,7 @@ export class SSHSettingsTabComponent { }) } - copyConnection (connection) { + copyConnection (connection: SSHConnection) { const modal = this.ngbModal.open(EditConnectionModalComponent) modal.componentInstance.connection = Object.assign({ name: `${name} Copy`,