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

    Module Types

    Exports all global types (no JavaScript).

    0.1.0

    import type { Types } from '@maddimathon/utility-typescript';
    import type { ... } from '@maddimathon/utility-typescript/types';

    Type Aliases

    AnyClass

    Refines the function type to only apply to classes.

    ArrayItem

    Infers the item types of a known array type.

    CountryCode

    All valid ISO country codes.

    LangCode

    All valid ISO language codes (without locales or script identifiers).

    LangLocaleCode

    A BCP 47 language tag (without any script identifiers).

    Namespaces

    Debug

    Types useful only for debugging and testing other types.

    Json

    Utility types that match common JSON schemas.

    Objects

    Utility types either of or for objects.

    Test

    Utility types for unit testing TypeScript types.