Options
All
  • Public
  • Public/Protected
  • All
Menu

jsonschema-definer

Index

Type aliases

Any

Any: boolean | null | string | number | Record<string, any> | Array<any> | undefined

Class

Class<T>: { constructor: any; prototype: T }

Type parameters

  • T

Type declaration

  • constructor: function
    • new __type(): T
  • prototype: T

Expect

Expect<T, E, T, E>: T extends E ? true : false

Type parameters

  • T: E

  • E

  • T: E

  • E

Optional

Optional<T>: O.Optional<T, O.SelectKeys<T, undefined>>

Type parameters

  • T: object

Schema

Validator

Validator: (value: any, full: any, schema: Schema["plain"], path: string) => boolean

Type declaration

    • (value: any, full: any, schema: Schema["plain"], path: string): boolean
    • Parameters

      • value: any
      • full: any
      • schema: Schema["plain"]
      • path: string

      Returns boolean

Variables

Const S

S: SchemaFactory = new SchemaFactory()

Generated using TypeDoc