Skip to main content
Version: Version 5 beta

Type Alias: Brand<T, U>

Brand<T, U>: T & object

Makes a branded type synonym For example, to distinguish between Km and miles, at compile time, * although the underlying type is the same

Type declaration

[brand]

[brand]: U

Type Parameters

T

U