Skip to content

Commit

Permalink
Merge pull request #17892 from keita-determined/chore/export-ECElemen…
Browse files Browse the repository at this point in the history
…tEvent

feat(type): export `ECElementEvent` for TypeScript
  • Loading branch information
plainheart authored Nov 9, 2022
2 parents 7fe9b73 + 12636cd commit 3d69d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/export/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use(installLabelLayout);


// Export necessary types
export {ZRColor as Color, Payload} from '../util/types';
export {ZRColor as Color, Payload, ECElementEvent} from '../util/types';
export {LinearGradientObject} from 'zrender/src/graphic/LinearGradient';
export {RadialGradientObject} from 'zrender/src/graphic/RadialGradient';
export {PatternObject, ImagePatternObject, SVGPatternObject} from 'zrender/src/graphic/Pattern';
Expand Down Expand Up @@ -115,4 +115,4 @@ export type ComposeOption<OptionUnion extends ComponentOption> =
ComposeUnitOption<OptionUnion> & {
baseOption?: ComposeUnitOption<OptionUnion>
options?: ComposeUnitOption<OptionUnion>[]
};
};

0 comments on commit 3d69d6c

Please sign in to comment.