Returns

A branded empty object type

Example

Brand<'example'> => {[brandSymbol]: 'example'}

Which I might use like this:
type MyType = {content: string} & Brand<'example'>
interface ConversationType {
    [brandSymbol]: "conversationCustomOperation";
    authorization(callback): ConversationType;
}

Hierarchy (view full)

Properties

Methods

Properties

[brandSymbol]: "conversationCustomOperation"

Methods