From f8240c330858c402f928b6783308fc7fe3dc41ed Mon Sep 17 00:00:00 2001 From: Atanas Atanasov Date: Tue, 13 Mar 2018 18:20:08 +0200 Subject: [PATCH] Improved and Prepare gijgo definitions for inclusion in Angular 2+ projects --- types/gijgo/index.d.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/types/gijgo/index.d.ts b/types/gijgo/index.d.ts index 19d17deb22..a382b5ea80 100644 --- a/types/gijgo/index.d.ts +++ b/types/gijgo/index.d.ts @@ -4,7 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -declare module Gijgo { +/// + +export declare module Gijgo { //Grid interface GridPager { @@ -263,7 +265,7 @@ declare module Gijgo { close(): DatePicker; destroy(): void; open(): DatePicker; - value(value: string): string | DatePicker; + value(value?: string): string | DatePicker; } // DropDown @@ -423,7 +425,7 @@ declare module Gijgo { } -interface JQuery { +export interface jQuery { grid(settings: Gijgo.GridSettings): Gijgo.Grid; grid(settings: Gijgo.GridSettings): Gijgo.Grid; grid(settings: Gijgo.GridSettings): Gijgo.Grid;