@visactor/vchart-types
v2.0.16
Published
Provide the type declarations of VChart.
Downloads
5,769
Maintainers
Keywords
Readme
@visactor/vchart-types
Description
Provide the pure TypeScript type declarations of VChart.
Usage
You can refer to the following statement to import types as needed:
import type { xxx } from '@visactor/vchart-types';Such as:
import type { IBarSeriesSpec } from '@visactor/vchart-types';You can also find the types in the corresponding path in types and import them:
import type { xxx } from '@visactor/vchart-types/types/xxx';Such as:
import type { IBarSeriesSpec } from '@visactor/vchart-types/types/series/bar/interface'