Prelude API
Guides
Skill
GitHub
Preparing search index...
@prelude/validation
Expected
Type Alias Expected
Expected
:
|
{
kind
:
"type"
;
name
:
|
"string"
|
"number"
|
"boolean"
|
"bigint"
|
"symbol"
|
"undefined"
|
"null"
|
"array"
|
"object"
;
}
|
{
kind
:
"literal"
;
value
:
unknown
}
|
{
kind
:
"is"
;
value
:
unknown
}
|
{
kind
:
"defined"
}
|
{
kind
:
"nullish"
}
|
{
kind
:
"finite"
}
|
{
kind
:
"safeInteger"
}
|
{
kind
:
"positive"
}
|
{
kind
:
"compare"
;
operator
:
"gt"
|
"gte"
|
"lt"
|
"lte"
;
than
:
number
}
|
{
kind
:
"between"
;
max
:
number
;
min
:
number
}
|
{
kind
:
"oneOf"
;
values
:
readonly
unknown
[]
}
|
{
kind
:
"regexp"
;
regexp
:
RegExp
}
|
{
constructor
:
Constructor
;
kind
:
"instance"
}
|
{
kind
:
"maxLength"
;
length
:
number
}
|
{
keys
:
string
[]
;
kind
:
"extraKeys"
;
partial
:
boolean
}
|
{
kind
:
"unique"
}
|
{
failures
:
Failure
[]
;
kind
:
"union"
}
|
{
format
:
string
;
index
:
number
;
kind
:
"strftime"
}
|
{
kind
:
"calendarDate"
;
problem
:
"format"
|
"invalid"
}
|
{
kind
:
"nonBlank"
}
|
{
kind
:
"predicate"
}
|
{
kind
:
"text"
;
text
:
string
}
What was expected at the failure site, structurally: each host package renders it in its own words.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Skill
GitHub
Prelude API
Loading...
What was expected at the failure site, structurally: each host package renders it in its own words.