Skip to content

Marker : Fix typing#3

Open
Fridus wants to merge 1 commit intogalexandrade:masterfrom
Fridus:patch-1
Open

Marker : Fix typing#3
Fridus wants to merge 1 commit intogalexandrade:masterfrom
Fridus:patch-1

Conversation

@Fridus
Copy link
Copy Markdown

@Fridus Fridus commented Nov 25, 2020

Hi,
It solves this error:

error TS2345: Argument of type 'Marker' is not assignable to parameter of type '{ top: number; left: number; }'.
   Types of property 'top' are incompatible.
     Type 'Number' is not assignable to type 'number'.
       'number' is a primitive, but 'Number' is a wrapper object. Prefer using 'number' when possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant