From e9b588a671030a2b6fa55b623696b6b9b10613a4 Mon Sep 17 00:00:00 2001 From: J Gabriel Gouveia Date: Mon, 18 Jun 2018 08:05:12 -0300 Subject: [PATCH] Fixed close function parameters on Client --- types/mosca/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/mosca/index.d.ts b/types/mosca/index.d.ts index 77fd94e87b..7ed86cbe56 100644 --- a/types/mosca/index.d.ts +++ b/types/mosca/index.d.ts @@ -47,8 +47,7 @@ export class Client { constructor(connection: any, server: Server); - close(callback: () => void, reason: string): void; - close(reason: string): void; + close(callback?: () => void, reason?: string): void; } export class Stats {