From 68a0f7b182f6d97cdd4c1546fba8f886afc2050b Mon Sep 17 00:00:00 2001 From: Yoshiyuki Asaba Date: Tue, 24 Jun 2014 23:46:38 +0900 Subject: [PATCH] Fixed type for gridOptions.borderWidth and also changed it as optional parameter. See: https://github.com/flot/flot/blob/master/API.md ---- > "borderWidth" is the width of the border around the plot. Set it to > 0 to disable the border. Set it to an object with "top", "right", > "bottom" and "left" properties to use different widths. --- flot/jquery.flot.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flot/jquery.flot.d.ts b/flot/jquery.flot.d.ts index 542810545..1f6cf71cb 100644 --- a/flot/jquery.flot.d.ts +++ b/flot/jquery.flot.d.ts @@ -46,7 +46,7 @@ declare module jquery.flot { labelMargin?: number; axisMargin?: number; markings?: any; //array of markings or (fn: axes -> array of markings) - borderWidth: number; + borderWidth?: any; // number or width object borderColor?: any; // color or null minBorderMargin?: number; // or null clickable?: boolean;