Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Oct 11, 2021
1 parent 5e9f017 commit 167c855
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/index.esm.d.ts
Expand Up @@ -2016,6 +2016,11 @@ export class BasePlatform {
* @returns {boolean} true if the canvas is attached to the platform, false if not.
*/
isAttached(canvas: HTMLCanvasElement): boolean;
/**
* Updates config with platform specific requirements
* @param {ChartConfiguration} config
*/
updateConfig(config: ChartConfiguration): void;
}

export class BasicPlatform extends BasePlatform {}
Expand Down

0 comments on commit 167c855

Please sign in to comment.