bupkis
API
Assertions
Preparing search index...
bupkis
z
templateLiteral
Function templateLiteral
templateLiteral
<
const
Parts
extends
$ZodTemplateLiteralPart
[]
>
(
parts
:
Parts
,
params
?:
|
string
|
{
format
?:
string
;
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
;
message
?:
string
;
}
,
)
:
z
.
ZodTemplateLiteral
<
$PartsToTemplateLiteral
<
Parts
>
>
Type Parameters
const
Parts
extends
$ZodTemplateLiteralPart
[]
Parameters
parts
:
Parts
Optional
params
:
|
string
|
{
format
?:
string
;
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
;
message
?:
string
;
}
string
{
format
?:
string
;
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
;
message
?:
string
;
}
Optional
format
?:
string
Optional
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
Optional
message
?:
string
Deprecated
This parameter is deprecated. Use
error
instead.
Returns
z
.
ZodTemplateLiteral
<
$PartsToTemplateLiteral
<
Parts
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...
Deprecated
This parameter is deprecated. Use
error
instead.