DefinitelyTyped / DefinitelyTyped/DefinitelyTyped
TS2415: Class 'Path' incorrectly extends base class 'Layer'.
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 51.4k
- Forks
- 30.4k
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 108
Description
Contributor guide
No contributing guide indexed for this repository
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
Start at types/leaflet/index.d.ts around line 985, using the linked revision, and inspect the Path and Layer declarations associated with the TS2415 diagnostic. Confirm the issue is resolved when TypeScript no longer reports the inheritance error while the Leaflet declarations remain valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100

