graphql-zeus icon indicating copy to clipboard operation
graphql-zeus copied to clipboard

fix: add return type for node-fetch response

Open xbaun opened this issue 3 years ago • 0 comments

Added type cast of node-fetch response: The response of node fetch v3 is Promise<unknown> instead of Promise<any> , so an explicit type cast to Promise<GraphQLResponse> is required.

xbaun avatar Apr 24 '22 17:04 xbaun