You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API I'm working with (Appwrite) has many member functions which are currently being generated as property getter/setters. It works, but doesn't (usefully) capture the optional arguments.
With the second form, I'm able to call the API as users.name("Joe"). I don't get the correct behaviour if I use the first form as users.name "Joe" None
The text was updated successfully, but these errors were encountered:
When `Config.ConvertPropertyFunctions` is enabled and a TypeLiteral
contains a Function-Property, it's converted into interface (instead of
Anon Record)
I have a PR for this ready
The API I'm working with (Appwrite) has many member functions which are currently being generated as property getter/setters. It works, but doesn't (usefully) capture the optional arguments.
For example
Current output:
Preferred output:
With the second form, I'm able to call the API as
users.name("Joe")
. I don't get the correct behaviour if I use the first form asusers.name "Joe" None
The text was updated successfully, but these errors were encountered: