VChart/packages/vchart-types
2024-11-15 15:36:15 +00:00
..
types build: release version 1.12.12 2024-11-15 15:36:15 +00:00
.eslintrc.js
package.json build: release version 1.12.12 2024-11-15 15:36:15 +00:00
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'