Function assertObjectHasDefinedKeys

  • Asserts that a given object contains the specified keys such that their values are defined.

    Type Parameters

    • T extends object

    • K extends string | number | symbol = keyof T

    Parameters

    Returns asserts input is { [ key in string | number | symbol]: T[key] } & { [ key in string | number | symbol]-?: T[key] }

Generated using TypeDoc