Skip to content

Commit

Permalink
fix: chart render type (#4853)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepper-nice committed Apr 3, 2023
1 parent 1ec5d0e commit fd98bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export type ChartOptions = ViewComposition & {
type ChartProps = Concrete<ViewComposition>;

export interface Chart extends Composition, Mark {
render(): void;
render(): Promise<Chart>;
node(): HTMLElement;
data: ValueAttribute<ChartProps['data'], Chart>;
width: ValueAttribute<ChartProps['width'], Chart>;
Expand Down

0 comments on commit fd98bc3

Please sign in to comment.