mirror of
https://github.com/VisActor/VChart
synced 2024-11-23 01:29:13 +00:00
.. | ||
types | ||
.eslintrc.js | ||
package.json | ||
README.md | ||
tsconfig.eslint.json | ||
tsconfig.json | ||
tsconfig.test.json |
@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'