leeoniya / leeoniya/uPlot

Add the `_lock` field in TypeScript.

Open Beginner friendly
#1,062 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
463
PR merge metrics
No merged PRs in 30d

Description

Is it a good idea to add the _lock field in TypeScript?

I mean, the demos/tooltips.html and the demos/update-cursor-select-resize.html do use the _lock to get the status that the uPlot chart is locked or not, but in TypeScript project the _lock field is miss.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the TypeScript definitions and comparing them with the _lock usage in demos/tooltips.html and demos/update-cursor-select-resize.html. Add the missing _lock field to the TypeScript surface so consumers can read the chart's locked status, then verify the definitions still build cleanly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.