@traversable/schema
    Preparing search index...
    type Options = {
        canonizeRefName?: (x: string) => string;
        typeName?: string;
    }
    Index

    Properties

    canonizeRefName?: (x: string) => string

    Allows users to customize how refs are translated into an identifier.

    By default, the ref's last segment is taken and converted to pascal case.

    typeName?: string

    By default, JsonSchema.toType will generate an "inline" TypeScript type. Use this option to have JsonSchema.toType generate a type alias with the name you provide.