@@ -33,7 +33,7 @@ index 992df92..43979af 100644
33
33
writeFragment<TData = any, TVariables = any>(options: DataProxy.WriteFragmentOptions<TData, TVariables>): void;
34
34
writeData<TData = any>(options: DataProxy.WriteDataOptions<TData>): void;
35
35
diff --git a/node_modules/apollo-cache/src/types/DataProxy.ts b/node_modules/apollo-cache/src/types/DataProxy.ts
36
- index 8b85709..4f2a2f3 100644
36
+ index 8b85709..cc8a1bf 100644
37
37
--- a/node_modules/apollo-cache/src/types/DataProxy.ts
38
38
+++ b/node_modules/apollo-cache/src/types/DataProxy.ts
39
39
@@ -1,13 +1,14 @@
@@ -71,6 +71,24 @@ index 8b85709..4f2a2f3 100644
71
71
72
72
/**
73
73
* The name of the fragment in your GraphQL document to be used. If you do
74
+ @@ -45,7 +46,7 @@ export namespace DataProxy {
75
+ }
76
+
77
+ export interface WriteQueryOptions<TData, TVariables>
78
+ - extends Query<TVariables> {
79
+ + extends Query<TVariables, TData> {
80
+ /**
81
+ * The data you will be writing to the store.
82
+ */
83
+ @@ -53,7 +54,7 @@ export namespace DataProxy {
84
+ }
85
+
86
+ export interface WriteFragmentOptions<TData, TVariables>
87
+ - extends Fragment<TVariables> {
88
+ + extends Fragment<TVariables, TData> {
89
+ /**
90
+ * The data you will be writing to the store.
91
+ */
74
92
@@ -87,7 +88,7 @@ export interface DataProxy {
75
93
* Reads a GraphQL query from the root query id.
76
94
*/
0 commit comments