relay-hooks
relay-hooks copied to clipboard
fix(types): Pass TOperationType to usePreloadQuery's loadQuery parameter
When passing a typed LoadQuery<T>, where T has variables, to usePreloadQuery the type of LoadQuery.next will conflict with the default typed LoadQuery in by usePreloadQuery. Not inferring the type of TOperationType from the parameter shape seems like an oversight.