You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type '{ selections: string[]; }' is missing the following properties from type '{ definitions: boolean; selections: string[]; variables: boolean; arguments: string[]; groups: string[]; }': definitions, variables, arguments, groupsts(2739)
Despite the docs implying that you don't need to set all arguments to the rule
Describe the solution you'd like
Expose GraphQLRules as a export (to avoid the consumer having to dig for it), and correctly type optional fields
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Now that Eslint 9 allows JS configs, you can use type safety around rules
You can currently access types via
However this produces error
Despite the docs implying that you don't need to set all arguments to the rule
Describe the solution you'd like
Expose
GraphQLRules
as a export (to avoid the consumer having to dig for it), and correctly type optional fieldsDescribe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: