jspreadsheet / jspreadsheet/ce
ts: Misplacement of getConfig in Plugin interface
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 890
- PR merge metrics
- No merged PRs in 30d
Description
The getConfig method appears to be defined inside the Plugin interface in index.d.ts, but it seems it should belong to SpreadsheetInstance.
Could you please verify if this is a type definition misplacement and update index.d.ts accordingly?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect dist/index.d.ts around line 1302 and compare the getConfig declaration with the Plugin and SpreadsheetInstance interfaces. Confirm the correct owner, update the type definition accordingly, and verify that getConfig is exposed on the intended interface without changing unrelated declarations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 85/100