mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Highcharts No Data To Display module updated (#13703)
* updated no-data-to-display to include initialisation * added module version * Updated version * single line for authors
This commit is contained in:
parent
eab7e87d19
commit
842e58faa1
2
highcharts/index.d.ts
vendored
2
highcharts/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for Highcharts 4.2.5
|
||||
// Type definitions for Highcharts 4.2.7
|
||||
// Project: http://www.highcharts.com/
|
||||
// Definitions by: Damiano Gambarotto <http://github.com/damianog>, Dan Lewi Harkestad <http://github.com/baltie>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
@ -4,3 +4,5 @@ function test_NoDataToDisplay() {
|
||||
chart.hideNoData();
|
||||
chart.showNoData("Custom no data message");
|
||||
}
|
||||
|
||||
HighchartsNoDataToDisplay(Highcharts);
|
||||
10
highcharts/modules/no-data-to-display.d.ts
vendored
10
highcharts/modules/no-data-to-display.d.ts
vendored
@ -1,9 +1,9 @@
|
||||
// Type definitions for Highcharts No Data to Display
|
||||
// Type definitions for Highcharts No Data to Display 4.2.7
|
||||
// Project: http://www.highcharts.com/
|
||||
// Definitions by: Andrey Zolotin <http://github.com/nitoloz>
|
||||
// Definitions by: Andrey Zolotin <http://github.com/nitoloz>, Rowell Heria <http://github.com/rowellx68>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import * as Hc from "highcharts";
|
||||
import { Static } from "highcharts";
|
||||
|
||||
declare module "highcharts" {
|
||||
interface ChartObject {
|
||||
@ -28,3 +28,7 @@ declare module "highcharts" {
|
||||
showNoData(message?: string): void;
|
||||
}
|
||||
}
|
||||
|
||||
declare var HighchartsNoDataToDisplay: (H: Static) => Static;
|
||||
export = HighchartsNoDataToDisplay;
|
||||
export as namespace HighchartsNoDataToDisplay;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user