mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Convert highcharts-modules-xxx.d.ts to highcharts/modules/xxx.d.ts and include in tsconfig.json
This commit is contained in:
parent
b6e41e21ff
commit
1907cc359b
1
highcharts/highcharts-more-tests.ts
Normal file
1
highcharts/highcharts-more-tests.ts
Normal file
@ -0,0 +1 @@
|
||||
HighchartsMore(Highcharts);
|
||||
10
highcharts/highcharts-more.d.ts
vendored
10
highcharts/highcharts-more.d.ts
vendored
@ -3,10 +3,6 @@
|
||||
// Definitions by: Maciej Suchecki <http://github.com/mc-suchecki>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import { Static } from "highcharts";
|
||||
|
||||
declare var HighchartsMore: (H: Static) => Static;
|
||||
|
||||
declare module "highcharts/highcharts-more" {
|
||||
export = HighchartsMore;
|
||||
}
|
||||
declare var HighchartsMore: (H: Highcharts.Static) => Highcharts.Static;
|
||||
export = HighchartsMore;
|
||||
export as namespace HighchartsMore;
|
||||
|
||||
1
highcharts/modules/boost-tests.ts
Normal file
1
highcharts/modules/boost-tests.ts
Normal file
@ -0,0 +1 @@
|
||||
HighchartsBoost(Highcharts);
|
||||
@ -6,7 +6,5 @@
|
||||
import { Static } from "highcharts";
|
||||
|
||||
declare var HighchartsBoost: (H: Static) => Static;
|
||||
|
||||
declare module "highcharts/modules/boost" {
|
||||
export = HighchartsBoost;
|
||||
}
|
||||
export = HighchartsBoost;
|
||||
export as namespace HighchartsBoost;
|
||||
1
highcharts/modules/exporting-tests.ts
Normal file
1
highcharts/modules/exporting-tests.ts
Normal file
@ -0,0 +1 @@
|
||||
HighchartsExporting(Highcharts);
|
||||
@ -6,7 +6,5 @@
|
||||
import { Static } from "highcharts";
|
||||
|
||||
declare var HighchartsExporting: (H: Static) => Static;
|
||||
|
||||
declare module "highcharts/modules/exporting" {
|
||||
export = HighchartsExporting;
|
||||
}
|
||||
export = HighchartsExporting;
|
||||
export as namespace HighchartsExporting;
|
||||
@ -1,6 +1,3 @@
|
||||
/// <reference path="highcharts-modules-no-data-to-display.d.ts" />
|
||||
/// <reference types="jquery" />
|
||||
|
||||
function test_NoDataToDisplay() {
|
||||
var chart = $("#container").highcharts();
|
||||
var chartHasData = chart.hasData();
|
||||
1
highcharts/modules/offline-exporting-tests.ts
Normal file
1
highcharts/modules/offline-exporting-tests.ts
Normal file
@ -0,0 +1 @@
|
||||
HighchartsExporting(Highcharts);
|
||||
@ -6,7 +6,5 @@
|
||||
import { Static } from "highcharts";
|
||||
|
||||
declare var HighchartsOfflineExporting: (H: Static) => Static;
|
||||
|
||||
declare module "highcharts/modules/offline-exporting" {
|
||||
export = HighchartsOfflineExporting;
|
||||
}
|
||||
export = HighchartsOfflineExporting;
|
||||
export as namespace HighchartsOfflineExporting;
|
||||
@ -14,9 +14,18 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"highstock.d.ts",
|
||||
"highcharts-tests.ts",
|
||||
"highcharts-modules-no-data-to-display-tests.ts",
|
||||
"modules/boost.d.ts",
|
||||
"modules/boost-tests.ts",
|
||||
"modules/exporting.d.ts",
|
||||
"modules/exporting-tests.ts",
|
||||
"modules/no-data-to-display.d.ts",
|
||||
"modules/no-data-to-display-tests.ts",
|
||||
"modules/offline-exporting.d.ts",
|
||||
"modules/offline-exporting-tests.ts",
|
||||
"highcharts-more.d.ts",
|
||||
"highcharts-more-tests.ts",
|
||||
"highstock.d.ts",
|
||||
"highstock-tests.ts"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user