mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
adhoc fix highcharts-ng/highcharts-ng-tests.ts and highcharts/highcharts.d.ts
This commit is contained in:
@@ -37,4 +37,4 @@ class AppController {
|
||||
}
|
||||
}
|
||||
|
||||
app.controller("AppController", AppController);
|
||||
app.controller("AppController", AppController);
|
||||
|
||||
Vendored
+3
-3
@@ -6,11 +6,11 @@
|
||||
/// <reference path="../highcharts/highcharts.d.ts" />
|
||||
|
||||
interface HighChartsNGConfig {
|
||||
options: HighchartsChartOptions;
|
||||
options: HighchartsOptions;
|
||||
//The below properties are watched separately for changes.
|
||||
|
||||
//Series object (optional) - a list of series using normal highcharts series options.
|
||||
series?: number[]|[number, number][]| HighchartsDataPoint[];
|
||||
series?: number[]|[number, number][]| HighchartsDataPoint[] | {data:number[];}[];
|
||||
//Title configuration (optional)
|
||||
title?: {
|
||||
text?: string;
|
||||
@@ -40,4 +40,4 @@ interface HighChartsNGConfig {
|
||||
interface HighChartsNGChart extends HighChartsNGConfig {
|
||||
//This is a simple way to access all the Highcharts API that is not currently managed by this directive.
|
||||
getHighcharts(): HighchartsChartObject;
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -249,7 +249,7 @@ interface HighchartsCSSObject {
|
||||
fontWeight?: string;
|
||||
left?: string;
|
||||
opacity?: number;
|
||||
padding?: string;
|
||||
padding?: string | number;
|
||||
position?: string;
|
||||
top?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user