@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 CHANGED
@@ -273,11 +273,10 @@ async function loadSwaggerSource(options) {
273
273
  if (!interfaces?.length)
274
274
  return;
275
275
  const prefix = `/* eslint-disable */
276
- /* prettier-ignore */
277
- // @ts-nocheck
278
- // noinspection JSUnusedGlobalSymbols
279
- // Generated by vite-plugin-swagger2ts
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
- /* prettier-ignore */
268
- // @ts-nocheck
269
- // noinspection JSUnusedGlobalSymbols
270
- // Generated by vite-plugin-swagger2ts
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@1szx1/vite-plugin-swagger2ts",
3
3
  "description": "forked from https://github.com/morelearn1990/vite-plugin-swagger2ts",
4
- "version": "1.3.9",
4
+ "version": "1.3.10",
5
5
  "license": "MIT",
6
6
  "author": "1SZX1 <2414126198@qq.com>",
7
7
  "repository": {