Hello, is there any reason why generic parameter DefaultT is absent, and replaced by hardcoded null type. I creates a situation where only default value i can provide is null, so i forced to do this:
const { data: contacts } = $client.contacts.useLazyQuery(undefined, {
default: () => [] as unknown as null,
})
UPD: I want to make a pull request to fix this, just want to know if there was a type issue so this idea was abandoned
Hello, is there any reason why generic parameter DefaultT is absent, and replaced by hardcoded
null
type. I creates a situation where only default value i can provide is null, so i forced to do this:UPD: I want to make a pull request to fix this, just want to know if there was a type issue so this idea was abandoned