Use Inline Types in Supazod
mainIf you prefer a simpler setup without managing separate .d.ts files, you can use the --inline-types (or -I) flag to include TypeScript types directly in the generated schema file.
Via CLI:
$ pnpm supazod -i types.ts -o schemas.ts --inline-typesVia Configuration File:
You can also enable this globally in your supazod.config.ts:
import { defineConfig } from 'supazod';
export default defineConfig({
inlineTypes: true,
});