Skip to content

Commit

Permalink
πŸ› fixes compilation error when option --isolatedModules is set (#11095)
Browse files Browse the repository at this point in the history
* πŸ› fixes compilation error when option --isolatedModules is set

* ♻️ preserve UpdateModeEnum to prevent breaking change
  • Loading branch information
jljouannic committed Jan 28, 2023
1 parent 43abacb commit b967d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ export declare type ChartItem =
| { canvas: HTMLCanvasElement }
| ArrayLike<CanvasRenderingContext2D | HTMLCanvasElement>;

export declare const enum UpdateModeEnum {
export declare enum UpdateModeEnum {
resize = 'resize',
reset = 'reset',
none = 'none',
Expand Down

0 comments on commit b967d71

Please sign in to comment.