Skip to content

Polyline class does not have a UniquePolylineProps interface #10075

Answered by asturur
gloriousjob asked this question in Q&A
Discussion options

You must be logged in to vote

What is the issue you are facing?
As long as you are able to clearly see the points in the type when the object is serialized and if you can pass them as first argument of the constructor, that should be good.

If you prefer to move the position of points from first argument to a generic key in the object you should also write your own fromObject method.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gloriousjob
Comment options

@asturur
Comment options

Answer selected by gloriousjob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants