adhoc fix highcharts-ng/highcharts-ng-tests.ts and highcharts/highcharts.d.ts

This commit is contained in:
vvakame
2015-09-03 21:42:04 +09:00
parent d075fd542f
commit 134052c72d
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -37,4 +37,4 @@ class AppController {
}
}
app.controller("AppController", AppController);
app.controller("AppController", AppController);
+3 -3
View File
@@ -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;
}
}
+1 -1
View File
@@ -249,7 +249,7 @@ interface HighchartsCSSObject {
fontWeight?: string;
left?: string;
opacity?: number;
padding?: string;
padding?: string | number;
position?: string;
top?: string;
}