NativeScript / NativeScript/plugins

google-maps Circle and other should expose Partial<NativeObject>

Open
#641 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

https://github.com/NativeScript/plugins/blob/a503c40264e6704cbf87ccaaa76da5b8486b4e46/packages/google-maps/index.d.ts#L484

Marker implements Partial<NativeObject> but Circle and other geometries do not although they define the methods for it. I would like to access the underlying native object. But typescript insists that there is no native property in Circle.

Contributor guide

Open the contributing guide

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 in packages/google-maps/index.d.ts around line 484, comparing Circle and the other geometry types with Marker. Update the declarations so their existing native-object methods expose the native property, then verify TypeScript accepts native access on Circle and the affected geometries.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.