@graphql-codegen/client-preset 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +5 -1
- package/esm/index.js +5 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -116,7 +116,11 @@ exports.preset = {
|
|
|
116
116
|
}
|
|
117
117
|
const plugins = [
|
|
118
118
|
{ [`add`]: { content: `/* eslint-disable */` } },
|
|
119
|
-
{
|
|
119
|
+
{
|
|
120
|
+
[`typescript`]: {
|
|
121
|
+
inputMaybeValue: 'T | null | undefined',
|
|
122
|
+
},
|
|
123
|
+
},
|
|
120
124
|
{ [`typescript-operations`]: {} },
|
|
121
125
|
{
|
|
122
126
|
[`typed-document-node`]: {
|
package/esm/index.js
CHANGED
|
@@ -111,7 +111,11 @@ export const preset = {
|
|
|
111
111
|
}
|
|
112
112
|
const plugins = [
|
|
113
113
|
{ [`add`]: { content: `/* eslint-disable */` } },
|
|
114
|
-
{
|
|
114
|
+
{
|
|
115
|
+
[`typescript`]: {
|
|
116
|
+
inputMaybeValue: 'T | null | undefined',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
115
119
|
{ [`typescript-operations`]: {} },
|
|
116
120
|
{
|
|
117
121
|
[`typed-document-node`]: {
|