We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
customConfig
undefined
1 parent 9208816 commit 4809884Copy full SHA for 4809884
.changeset/moody-dodos-brake.md
@@ -0,0 +1,5 @@
1
+---
2
+"swagger-typescript-api": patch
3
4
+
5
+Initialise `customConfig` to `undefined` in command run function.
index.ts
@@ -281,7 +281,7 @@ const generateCommand = defineCommand({
281
},
282
283
run: async ({ args }) => {
284
- let customConfig;
+ let customConfig = undefined;
285
286
if (args["custom-config"]) {
287
try {
0 commit comments