Closed Rigellute closed 4 years ago
Closes #293
Ideally, Typescript would've caught this, however the type of Data from urql itself gives any - so no help here.
Data
any
I've added the ? attribute to the type anyway for documentation purposes.
?
Also added a test case for when the data prop is empty.
data
Closes #293
Ideally, Typescript would've caught this, however the type of
Data
from urql itself givesany
- so no help here.I've added the
?
attribute to the type anyway for documentation purposes.Also added a test case for when the
data
prop is empty.