antvis / antvis/Graphin

Misspelled type name in source code

Open
#482 1 comment 0 reactions 0 assignees View on GitHub
bug Typing Error
Dominant language
TypeScript
Stars
1.1k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

Apparent typo in source code

```
https://github.com/antvis/Graphin/blob/master/packages/graphin/src/behaviors/ZoomCanvas.tsx
export type IDragCanvasProps = Partial;
```

should most likely be:
```
export type IZoomCanvasProps = Partial;
```

### Your Example Website or App

none - just starting

### Steps to Reproduce the Bug or Issue

See above

### Expected behavior

See above.

In fact, I'm not sure if those types are directly exposed. Right now I access them directly:
```
import { IDragCanvasProps as IZoomCanasProps } from '@antv/graphin/lib/behaviors/ZoomCanvas'
```

### Screenshots or Videos

_No response_

### Platform

Any - just source code issue

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.