fix lint error

This commit is contained in:
peter 2017-08-10 09:37:09 +08:00
parent 71b2d06917
commit 1debf14af2
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -3,7 +3,7 @@
// Definitions by: ShuYin Zhang <https://github.com/brutalimp>
// 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 {