It's supposed to be updateConversions(location, conversions) , but it always comes back with an error saying the location is not a proper Point.
In the actual code it seems the properties are reversed:
it's actually looking for updateConversions(conversions, location)
in typescript the workaround I'm applying is:
Then it works fine.
Thanks for reporting this! Yes, we accidentally documented the parameters in the wrong order. We will get the documentation and typings updated shortly.