@kubb/swagger-ts 2.0.0-beta.7 → 2.0.0-beta.9

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.
@@ -3214,7 +3214,7 @@ function Template({
3214
3214
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
3215
3215
  `export const ${name} = ${JSON.stringify(api, void 0, 2)} as const`,
3216
3216
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("br", {}),
3217
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(react.Type, { name: typeName, export: true, children: `Parse<typeof ${name}>` })
3217
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(react.Type, { name: typeName, export: true, children: `Infer<typeof ${name}>` })
3218
3218
  ] });
3219
3219
  }
3220
3220
  var defaultTemplates = { default: Template };
@@ -3237,7 +3237,7 @@ Oas.File = function({ name, typeName, templates = defaultTemplates }) {
3237
3237
  path: file.path,
3238
3238
  meta: file.meta,
3239
3239
  children: [
3240
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(react.File.Import, { name: ["Parse"], path: "@kubb/swagger-ts/infer", isTypeOnly: true }),
3240
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(react.File.Import, { name: ["Infer"], path: "@kubb/swagger-ts/oas", isTypeOnly: true }),
3241
3241
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(react.File.Source, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Oas, { Template: Template2, name, typeName }) })
3242
3242
  ]
3243
3243
  }
@@ -3509,7 +3509,6 @@ core.createPlugin((options) => {
3509
3509
  await this.fileManager.addIndexes({
3510
3510
  root,
3511
3511
  output,
3512
- extName: ".ts",
3513
3512
  meta: { pluginKey: this.plugin.key },
3514
3513
  options: {
3515
3514
  isTypeOnly: true