diff --git a/package.json b/package.json index 573b1c8..5b7e35f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/smoothie.d.ts b/smoothie.d.ts index 33ae569..e63c50d 100644 --- a/smoothie.d.ts +++ b/smoothie.d.ts @@ -129,8 +129,8 @@ export interface IChartOptions { labels?: ILabelOptions; - /** Allows the chart to stretch according to its containers and layout settings. Default is false, for backwards compatibility. - responsive: boolean; + /** Allows the chart to stretch according to its containers and layout settings. Default is false, for backwards compatibility. */ + responsive?: boolean; } /**