Class Guard

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

data: undefined | HttpCredentials

Methods

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends "type" | "credentials"

    Parameters

    • prop: P
    • matcher: M
    • then: ((res) => void)

    Returns void

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends "type" | "credentials"

    Parameters

    • prop: P
    • matcher: M
    • Optional on_error: OnJudgementError

    Returns Exclude<PathValue<HttpCredentials, P>, undefined>

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends "type" | "credentials"

    Parameters

    • prop: P
    • matcher: M

    Returns undefined | Exclude<PathValue<HttpCredentials, P>, undefined>

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends "type" | "credentials"

    Parameters

    • prop: P
    • matcher: M
    • def: MatcherInferType<M>

    Returns Exclude<PathValue<HttpCredentials, P>, undefined>

  • Parameters

    • prop: string
    • desc: MismatchDescription
    • Optional on_error: OnJudgementError

    Returns never

Generated using TypeDoc