smoothie: fix streamTo signature

This commit is contained in:
Mike H Hawley
2014-03-16 21:39:24 +03:00
parent 54d4f70ef8
commit de66a997ff

View File

@@ -162,10 +162,10 @@ declare module "smoothie"
* Instructs the <code>SmoothieChart</code> to start rendering to the provided canvas, with specified delay.
*
* @param canvas the target canvas element
* @param delayMillis an amount of time to wait before a data point is shown. This can prevent the end of the series
* @param [delayMillis] an amount of time to wait before a data point is shown. This can prevent the end of the series
* from appearing on screen, with new values flashing into view, at the expense of some latency.
*/
streamTo(canvas: HTMLCanvasElement, delayMillis: number): void;
streamTo(canvas: HTMLCanvasElement, delayMillis?: number): void;
/**
* Starts the animation of this chart. Called by <code>streamTo</code>.