Skip to content

Commit 489d217

Browse files
committed
fix: test
1 parent 8b388cb commit 489d217

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/types/meta.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
import { ScaleConfig } from '@antv/scale';
22

33
/** scale 元信息,取名为 meta */
4-
export type Meta = ScaleConfig;
4+
export type Meta = ScaleConfig & {
5+
/**
6+
* 是否进行 scale 的同步。
7+
* - 设置为 false 则不同步
8+
* - 设置为 true 则以 field 为 key 进行同步
9+
* - 设置为 string,则以这个 string 为 key 进行同步
10+
*/
11+
readonly sync?: boolean | string;
12+
};

0 commit comments

Comments
 (0)