Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
Brand
Type Alias Brand<B, T>
Brand
<
B
,
T
>
:
[
T
]
extends
|
[
null
]
|
[
undefined
]
|
[
symbol
]
|
[
void
]
?
Branded
<
B
,
T
>
:
Branded
<
B
,
T
>
&
T
Create a "branded" version of a type. TypeScript won't allow implicit conversion to this type
Type Parameters
B
extends
string
T
=
never
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...
Create a "branded" version of a type. TypeScript won't allow implicit conversion to this type