std
    Preparing search index...

    Type Alias Brand<T, Brand>

    Brand: T & { "[brand]": Brand }

    Allows you to create a branded type.

    type Milliseconds = Brand<number, 'milliseconds'>;
    

    Type Parameters

    • T
    • Brand extends string