VChart/packages/vchart-types
2023-11-03 14:20:02 +08:00
..
types build: prelease version 1.6.0 2023-11-03 14:20:02 +08:00
.eslintrc.js feat: add vchart-types and vchart-theme 2023-11-01 10:07:44 +08:00
package.json build: prelease version 1.6.0 2023-11-03 14:20:02 +08:00
README.md fix: code review problems 2023-11-01 10:07:44 +08:00
tsconfig.eslint.json feat: add vchart-types and vchart-theme 2023-11-01 10:07:44 +08:00
tsconfig.json feat: add vchart-types and vchart-theme 2023-11-01 10:07:44 +08:00
tsconfig.test.json feat: add vchart-types and vchart-theme 2023-11-01 10:07:44 +08:00

@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'