DefinitelyTyped / DefinitelyTyped/DefinitelyTyped

TS2415: Class 'Path' incorrectly extends base class 'Layer'.

Open
#51,706 0 comments 1 reaction 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.