graphql
graphql<
Variables
,Response
>(url
,query
,variables
,init
?):Promise
<TypedResponse
<Response
>>
Type parameters
• Variables
• Response
Parameters
• url: string
• query: string
• variables: Variables
= undefined
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>