Skip to content

v10.0.1

Choose a tag to compare

@maxholman maxholman released this 03 May 07:23

Fix

Honors x-typescript-hint on string schemas inside oneOf/anyOf/allOf. Previously the recursive string branch ignored the hint, so a schema like oneOf: [{ enum: ["native"] }, { type: string, x-typescript-hint: "EmbedUrl" }] collapsed to "native" | string. The fix mirrors the top-level handling in the recursive case.

Other

  • Refactor: prefer toSorted/toReversed and iife blocks over deeply-nested ternaries.
  • Chore: drop leftover prettier config, the unused @ts-morph/common devDep, and the unicorn nested-ternary lint rule.
  • Chore: enable composite tsconfig; ignore *.tsbuildinfo.
  • Style: fix indentation on the undici @ts-expect-error comment block in the test fetch wrappers.