From 2b65bb4b141640697934e9aa4f381f8869c688b7 Mon Sep 17 00:00:00 2001 From: Vadhvis Date: Tue, 9 Jul 2024 11:39:37 +0300 Subject: [PATCH] Linting Fix: Switch to function property --- tabby-ssh/src/polyfills.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabby-ssh/src/polyfills.ts b/tabby-ssh/src/polyfills.ts index da48c261..06235b1f 100644 --- a/tabby-ssh/src/polyfills.ts +++ b/tabby-ssh/src/polyfills.ts @@ -7,6 +7,6 @@ nodeCrypto.createDiffieHellman = browserDH.createDiffieHellman // Declare function missing from @types declare module 'ssh2' { interface Client { - setNoDelay(enable?: boolean): this + setNoDelay: (enable?: boolean) => this } -} \ No newline at end of file +}