corrected file and folder name

This commit is contained in:
Lokesh Peta
2015-02-22 19:04:41 +00:00
parent 444a992209
commit cc6f556e9d
3 changed files with 1 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
// Type definitions for jQuery jqgrid Plugin 1.3
// Definitions by: Lokesh Peta <https://github.com/lokeshpeta/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path="../jquery/jquery.d.ts" />
/// <reference path="jqgrid.d.ts" />
+64
View File
@@ -0,0 +1,64 @@
// Type definitions for jQuery jqgrid Plugin 1.3
// Project: https://github.com/tonytomov/jqGrid
// Definitions by: Lokesh Peta <https://github.com/lokeshpeta/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path="../jquery/jquery.d.ts" />
interface JQueryJqGridColumn {
name: string;
index: string;
hidden?: boolean;
sortable?: boolean;
search?: boolean;
width?: number;
formatter?: (cellvalue: any, options: any, rowObject: any) => any;
}
interface IJqGridJsonReader {
repeatitems: boolean;
root(obj: any): any;
page(obj: any): any;
total(obj: any): number;
records(obj: {data: any[]}): number;
}
interface JQueryJqGridOptions {
datatype?: string;
mtype?: string;
autoencode?: boolean;
pager?: string;
rowNum?: number;
rowList?: number[];
colNames?: string[];
colModel?: JQueryJqGridColumn[];
sortname?: string;
sortorder?: string;
multiselect?: boolean;
multiboxonly?: boolean;
forceFit?: boolean;
height?: number;
width?: number;
shrinkToFit?: boolean;
url?: string;
jsonReader?: IJqGridJsonReader;
gridComplete?:()=>void;
}
interface JQueryJqGridStatic {
(): JQuery;
(gridName: string): any;
(gridName: string, propName: string): any;
(gridName: string, obj: any): any;
(gridName: string, id: any, colname: any): any;
(options: JQueryJqGridOptions): JQuery;
}
interface JQueryStatic {
jqGrid?: JQueryJqGridStatic;
}
interface JQuery {
jqGrid?: JQueryJqGridStatic;
setGridParam(obj: any): void;
}
+1
View File
@@ -0,0 +1 @@
--noImplicitAny --module commonjs --target es5