Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't construct Graphene.Point #170

Open
flexagoon opened this issue May 5, 2024 · 1 comment
Open

Can't construct Graphene.Point #170

flexagoon opened this issue May 5, 2024 · 1 comment

Comments

@flexagoon
Copy link

When trying to do the following:

new Graphene.Point({x: 0.5, y: 0.5})

Typescript throws an error: Expected 0 arguments, but got 1.

However, constructing a point like that works, and is widely used in js extensions:

https://sourcegraph.com/search?q=context:global+graphene.point%28&patternType=keyword&sm=0

@flexagoon
Copy link
Author

Same thing happens when trying to construct Gdk.RGBA by passing color values into the constructor.

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

No branches or pull requests

1 participant