[Feature] (TypeScript) The `OptionDataItemObject` type has not be exported
Open
en
new-feature
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
Some typescript supporting for the `OptionDataItemObject` and its child interfaces.
Now I have to define the `OptionDataItem` in my own project:
```
// TODO The same as ECharts' declaration
type OptionDataItemObject = {
id?: OptionId;
name?: OptionName;
groupId?: OptionId;
childGroupId?: OptionId;
value?: T[] | T;
selected?: boolean;
};
const load = (data: OptionDataItemObject) => {
//...
}
```
### What does the proposed API look like?
I don't need to describe the ECharts' types
Contributor guide
Assessment
This issue has not been assessed yet.