Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Namespace Objects

    Utility types either of or for objects.

    0.1.0

    import { Objects } from '@maddimathon/utility-typescript/types';
    import { ... } from '@maddimathon/utility-typescript/types/objects';

    Type Aliases

    Classify

    Converts an object into a class-compatible type that requires all properties to be present, even if their values are undefined.

    KeysOptional

    Returns the keys that are optional in the give object type.

    KeysRequired

    Returns the keys that are required by the given object type.

    PartialExcept

    Partial-izes an object, except for the given RequiredKeys, which are converted to be required.

    RecursivePartial

    Similar to the default Partial, but this also makes any child objects partial.

    RecursivePartialExcept

    Recursively Partial-izes an object, except for the given RequiredKeys — i.e., the recursive version of PartialExcept.

    RecursiveRequired

    Similar to the default Required, but this also makes any child objects Required.

    RecursiveRequiredPartially

    Recursively Requires the given required keys only and leaves the rest as-is — i.e., the recursive version of RequiredPartially.

    RequiredPartially

    Requires the given required keys only and leaves the rest as-is.

    _RecursivePartial_Inner

    This is used by RecursivePartial type to aid in recursion.