A branded empty object type
Brand<'example'> => {[brandSymbol]: 'example'}Which I might use like this:type MyType = {content: string} & Brand<'example'> Copy
Brand<'example'> => {[brandSymbol]: 'example'}Which I might use like this:type MyType = {content: string} & Brand<'example'>
Readonly
Returns
A branded empty object type
Example