Skip to content

[Bug] type error when using spec interface #1486

@purpose233

Description

@purpose233

Version

1.6.3

Link to Minimal Reproduction

null

Steps to Reproduce

https://codesandbox.io/p/sandbox/vchart-1-6-3-9p8d5l?file=%2Fsrc%2Fchart.tsx%3A75%2C9

Current Behavior

Type error when direction using spec object:
image

Type error when use common chart spec:
image

Expected Behavior

no type error

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions