mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 04:00:33 +08:00
types for tabulator
This commit is contained in:
13
types/tabulator/index.d.ts
vendored
Normal file
13
types/tabulator/index.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export as namespace tabulatorLib;
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
export = Tabulator;
|
||||
|
||||
/*~ Write your module's methods and properties in this class */
|
||||
declare class Tabulator {
|
||||
constructor();
|
||||
// myMethod(opts: Tabulator.chartType): number;
|
||||
defaultShowAttribute: string;
|
||||
toMatrix(datum: object): object;
|
||||
toHtmlTable(matrix: object): any;
|
||||
}
|
||||
1
types/tabulator/tabulator-tests.ts
Normal file
1
types/tabulator/tabulator-tests.ts
Normal file
@@ -0,0 +1 @@
|
||||
let tab = new tabulatorLib();
|
||||
22
types/tabulator/tsconfig.json
Normal file
22
types/tabulator/tsconfig.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"tabulator-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/tabulator/tslint.json
Normal file
1
types/tabulator/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dtslint.json" }
|
||||
Reference in New Issue
Block a user