From e74cccb981aa9c8c386606dfa0766e23c37942f9 Mon Sep 17 00:00:00 2001 From: Mario Valle Date: Thu, 28 Mar 2019 20:48:59 +0100 Subject: [PATCH] Added return types on functions --- types/jquery.noty/index.d.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/types/jquery.noty/index.d.ts b/types/jquery.noty/index.d.ts index ec2f9c36dd6ab1..0165503cc739ee 100644 --- a/types/jquery.noty/index.d.ts +++ b/types/jquery.noty/index.d.ts @@ -58,25 +58,25 @@ interface NotyCallbackOptions { } interface NotyStatic { - (notyOptions: NotyOptions); + (notyOptions: NotyOptions): void; defaults: NotyOptions; - get(id: any); - close(id: any); - clearQueue(); - closeAll(); - setText(id: any, text: string); - setType(id: any, type: string); + get(id: any): void; + close(id: any): void; + clearQueue(): void; + closeAll(): void; + setText(id: any, text: string): void; + setType(id: any, type: string): void; } interface Noty { (notyOptions: NotyOptions); - show(); - close(); - setText(text: string); - setType(type: string); - setTimeout(timeout: number); + show(): void; + close(): void; + setText(text: string): void; + setType(type: string): void; + setTimeout(timeout: number): void; closed: boolean; shown: boolean;