diff --git a/types/canvasjs/canvasjs-tests.ts b/types/canvasjs/canvasjs-tests.ts index 639e3ac043..2bf1499865 100644 --- a/types/canvasjs/canvasjs-tests.ts +++ b/types/canvasjs/canvasjs-tests.ts @@ -17,7 +17,7 @@ let columnChart = new CanvasJS.Chart("chartContainer", data: [ { type: "column", - lineDashType:"longDash", + lineDashType: "longDash", showInLegend: true, legendMarkerColor: "grey", legendText: "MMbbl = one million barrels", diff --git a/types/canvasjs/index.d.ts b/types/canvasjs/index.d.ts index 2a9d04f9db..e1b74a7606 100644 --- a/types/canvasjs/index.d.ts +++ b/types/canvasjs/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: ShuYin Zhang // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -type DashType = "solid" | "shortDash" | "shortDot" | "shortDashDot" | "shortDashDotDot" | "dot" | "dash" | "dashDot" | "longDash" | "longDashDot" | "longDashDotDot" +type DashType = "solid" | "shortDash" | "shortDot" | "shortDashDot" | "shortDashDotDot" | "dot" | "dash" | "dashDot" | "longDash" | "longDashDot" | "longDashDotDot"; declare namespace CanvasJS { class Chart {