Skip to content

Commit

Permalink
Add types to package.json and fix bug in smoothie.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston authored and drewnoakes committed May 14, 2017
1 parent d404d6e commit 5aa0c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.29.0",
"description": "Smoothie Charts: smooooooth JavaScript charts for realtime streaming data",
"main": "./smoothie.js",
"types": "./smoothie.d.ts",
"directories": {
"doc": "docs",
"example": "examples",
Expand Down
4 changes: 2 additions & 2 deletions smoothie.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ export interface IChartOptions {

labels?: ILabelOptions;

/** Allows the chart to stretch according to its containers and layout settings. Default is <code>false</code>, for backwards compatibility.
responsive: boolean;
/** Allows the chart to stretch according to its containers and layout settings. Default is <code>false</code>, for backwards compatibility. */
responsive?: boolean;
}

/**
Expand Down

0 comments on commit 5aa0c1c

Please sign in to comment.