mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 12:09:04 +08:00
smoothie: fix streamTo signature
This commit is contained in:
4
smoothie/smoothie.d.ts
vendored
4
smoothie/smoothie.d.ts
vendored
@@ -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>.
|
||||
|
||||
Reference in New Issue
Block a user