@1szx1/vite-plugin-swagger2ts 1.3.9 → 1.3.10
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/dist/index.cjs +4 -5
- package/dist/index.mjs +4 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -273,11 +273,10 @@ async function loadSwaggerSource(options) {
|
|
|
273
273
|
if (!interfaces?.length)
|
|
274
274
|
return;
|
|
275
275
|
const prefix = `/* eslint-disable */
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
`;
|
|
276
|
+
/* prettier-ignore */
|
|
277
|
+
// @ts-nocheck
|
|
278
|
+
// noinspection JSUnusedGlobalSymbols
|
|
279
|
+
// Generated by vite-plugin-swagger2ts`;
|
|
281
280
|
const code = interfaces.reduce((a, b) => a + b, "");
|
|
282
281
|
const suffix = sources ? interfaces.reduce((a, b, index) => {
|
|
283
282
|
if (b) {
|
package/dist/index.mjs
CHANGED
|
@@ -264,11 +264,10 @@ async function loadSwaggerSource(options) {
|
|
|
264
264
|
if (!interfaces?.length)
|
|
265
265
|
return;
|
|
266
266
|
const prefix = `/* eslint-disable */
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
`;
|
|
267
|
+
/* prettier-ignore */
|
|
268
|
+
// @ts-nocheck
|
|
269
|
+
// noinspection JSUnusedGlobalSymbols
|
|
270
|
+
// Generated by vite-plugin-swagger2ts`;
|
|
272
271
|
const code = interfaces.reduce((a, b) => a + b, "");
|
|
273
272
|
const suffix = sources ? interfaces.reduce((a, b, index) => {
|
|
274
273
|
if (b) {
|
package/package.json
CHANGED