1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-27 12:32:10 +03:00

lint: add the parameter type

This commit is contained in:
Zenghai Liang 2020-10-14 17:31:45 +08:00
parent 70cf63f8fa
commit 22b79510ea
No known key found for this signature in database
GPG Key ID: B389E2148C1B2E0D

View File

@ -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`,