Open
Description
The typescript type definitions for the query method force the params
parameter to be a Map<any, any>
, but the actual javascript function expects a dumb { [ key: string ]: any }
.
Passing a Map
causes the query to fail due to 'missing parameters', as expected.
Passing a normal JS object works, but requires typescript hacking like graph.query(query, params as unknown as Map<any, any>)
.
Am I missing something here or is this an actual error?
Metadata
Metadata
Assignees
Labels
No labels