Skip to content

Options

@tsed/cli-mcp

Usage

typescript
import { Options } from "@tsed/cli-mcp/src/utils/json-schema-to-zod/Types";

See /packages/cli-mcp/src/utils/json-schema-to-zod/Types.ts.

Overview

ts
type Options = {
    name?: string;
    module?: "cjs" | "esm" | "none";
    withoutDefaults?: boolean;
    withoutDescribes?: boolean;
    withJsdocs?: boolean;
    parserOverride?: ParserOverride;
    depth?: number;
    type?: boolean | string;
    noImport?: boolean;
    zodVersion?: ZodVersion;
};

name

ts
name?: string;

module

ts
module?: "cjs" | "esm" | "none";

withoutDefaults

ts
withoutDefaults?: boolean;

withoutDescribes

ts
withoutDescribes?: boolean;

withJsdocs

ts
withJsdocs?: boolean;

parserOverride

ts
parserOverride?: ParserOverride;

depth

ts
depth?: number;

type

ts
type?: boolean | string;

noImport

ts
noImport?: boolean;

zodVersion

ts
zodVersion?: ZodVersion;

Released under the MIT License.