plugins icon indicating copy to clipboard operation
plugins copied to clipboard

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

Open rottaran opened this issue 5 months ago • 1 comments

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.

rottaran avatar Aug 19 '25 21:08 rottaran

nevermind. It is just VSCode completion that is confused. The typescript compiler is happy.

rottaran avatar Aug 19 '25 21:08 rottaran