antvis / antvis/G2

类型提示

Open
#6,025 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

为什么当我链式写一个函数配置时,没有类型提示,比如当我写.label({})时,我需要这个配置对象里的键会自动提示?

### 重现链接

_No response_

### 重现步骤

_No response_

### 预期行为

_No response_

### 平台

- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]

### 屏幕截图或视频(可选)

_No response_

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the TypeScript declaration or implementation for the chained .label({}) configuration API and inspect how its configuration keys are typed. Done means the supported keys inside .label({}) provide editor autocomplete when used through the chained API.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.