This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
Replies: 1 comment
-
I found a duplicate: #451 Fix is to use anchor in v3000. Sorry, please close. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Thanks for the framework I enjoy using it.
Whilst using it I notice that origin is always type hinted as a string value, rather than the point of render function origin.
This is because origin is already a global variable attached to the window object.
To get around this I constantly add
(origin as any)("center")
in my Typescript code. Otherwise I get a type error.I would like to suggest that origin be renamed to pointOfOrigin. This would solve the type mismatch and would also clearly describe the function's intent.
Let me know your thoughts.
Thanks.
Brian
Beta Was this translation helpful? Give feedback.
All reactions