ts-fortress
Preparing search index...
brand/branded-string
simpleBrandedString
Variable simpleBrandedString
Const
simpleBrandedString
:
<
K
extends
string
>
(
__namedParameters
:
Readonly
<
{
defaultValue
:
string
;
is
?:
(
u
:
string
)
=>
u
is
Brand
<
string
,
K
>
;
typeName
:
K
;
}
,
>
,
)
=>
Type
<
Brand
<
string
,
K
>
>
= brandedString
Same as brandedString
Type Declaration
<
K
extends
string
>
(
__namedParameters
:
Readonly
<
{
defaultValue
:
string
;
is
?:
(
u
:
string
)
=>
u
is
Brand
<
string
,
K
>
;
typeName
:
K
;
}
,
>
,
)
:
Type
<
Brand
<
string
,
K
>
>
Type Parameters
K
extends
string
Parameters
__namedParameters
:
Readonly
<
{
defaultValue
:
string
;
is
?:
(
u
:
string
)
=>
u
is
Brand
<
string
,
K
>
;
typeName
:
K
;
}
,
>
Returns
Type
<
Brand
<
string
,
K
>
>
Deprecated
use
brandedString
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-fortress
Loading...
Same as brandedString