createFragment<TKey
>(fragment
, key
): DataProxy
<KeyTypeData
<TKey
>>
Name | Type |
---|---|
TKey |
extends Readonly <{ $data? : unknown ; $fragmentSpreads : unknown }> |
Name | Type |
---|---|
fragment |
GraphQLTaggedNode |
key |
Accessor <TKey > |
DataProxy
<KeyTypeData
<TKey
>>
createFragment<TKey
>(fragment
, key
): DataProxy
<KeyTypeData
<TKey
> | null
| undefined
>
Name | Type |
---|---|
TKey |
extends Readonly <{ $data? : unknown ; $fragmentSpreads : unknown }> |
Name | Type |
---|---|
fragment |
GraphQLTaggedNode |
key |
Accessor <undefined | null | TKey > |
DataProxy
<KeyTypeData
<TKey
> | null
| undefined
>