graphql-tag
graphql-tag copied to clipboard
Typescript expecting no arguments
trafficstars
Use of the arguments keyword and having no parameters creates error in Typescript: Expected 0 arguments, but got 1.
This can be circumvented by defining function as type any: (gql as any), however this breaks syntax highlighting in vscode.
@FredrikZeiner: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/
I suspect this change may break backwards compatibility?