From 036374f02756cffdf54e12f00daed92a3f08dbeb Mon Sep 17 00:00:00 2001 From: TotPeRo Date: Thu, 24 Aug 2017 14:40:04 +0300 Subject: [PATCH] Update index.d.ts --- types/waitme/index.d.ts | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/types/waitme/index.d.ts b/types/waitme/index.d.ts index 78616faa3d..37024a99ca 100644 --- a/types/waitme/index.d.ts +++ b/types/waitme/index.d.ts @@ -89,24 +89,18 @@ declare namespace WaitMe { interface WaitMeStatic { /** * init with default options - * @returns {JQuery} - */ - (): JQuery; - - /** + * Use: $(container).waitMe(); + * * init with custom options - * @param method - * @returns {JQuery} - */ - (method: WaitMeOptions): JQuery; - - /** + * Use: $(container).waitMe({param1 : value1, param2 : value2, ...}); + * * for close waitMe. * Use: $(container).waitMe("hide"); - * @param hide + * + * @param options * @returns {JQuery} */ - (hide: "hide"): JQuery; + (options?: WaitMeOptions | "hide"): JQuery; } }