FuncType - v0.9.5
    Preparing search index...

    Type Alias Typeable<Tag, T>

    Typeable: T & TypeableBase<Tag>

    Core utility for creating nominal typing in TypeScript by adding a type tag to any object. This allows for creating distinct types that are structurally identical but considered different by TypeScript's type system.

    Type Parameters

    • Tag extends string

      The string literal type used as the discriminator

    • T = object

      The base type to extend with the tag

    The parameters containing the tag and implementation

    A Typeable object with the specified tag