Patch Changes
- ⚠️ Fix generated empty
Variables
type as passed to generics, that outputs a type of{ [var: string]: never; }
.
A legacy/unsupported version oftypescript-urql
, which wrapsurql
's React hooks, generates
empty variables types as the following code snippet, which is not detected:Submitted by @kitten (See #3029)type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; type Variables = Exact<{ [key: string]: never }>;