ts-fortress
Preparing search index...
record/record
record
Function record
record
<
const
S
extends
UnknownShape
,
const
EP
extends
ExcessPropertyOption
=
"allow"
,
>
(
shape
:
S
,
options
?:
Partial
<
Readonly
<
{
excessProperty
:
EP
;
typeName
:
string
}
>
>
,
)
:
Type
<
RecordTypeFromShape
<
S
>
>
Type Parameters
const
S
extends
UnknownShape
const
EP
extends
ExcessPropertyOption
=
"allow"
Parameters
shape
:
S
Optional
options
:
Partial
<
Readonly
<
{
excessProperty
:
EP
;
typeName
:
string
}
>
>
Returns
Type
<
RecordTypeFromShape
<
S
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-fortress
Loading...