• Asserts that object has specific properties. Resulting object is assumed to have all properties, even optional, resulting in Required type.

    Type Parameters

    • T

    Parameters

    • object: unknown
    • properties: (keyof T)[]

      properties to be checked.

    • objectDescription: string = 'passed value'

    Returns asserts object is Required<T>

Generated using TypeDoc