Preparing search index...
The search index is not available
object-shape-tester - v5.1.5
object-shape-tester
shapeToDefaultValue
Function shapeToDefaultValue
shapeToDefaultValue
<
Shape
,
IsReadonly
extends
boolean
=
false
>
(
shape
:
Shape
,
)
:
ShapeToRuntimeType
<
Shape
,
false
,
IsReadonly
>
Creates a default value for the given shape.
Type Parameters
Shape
IsReadonly
extends
boolean
=
false
Parameters
shape
:
Shape
Returns
ShapeToRuntimeType
<
Shape
,
false
,
IsReadonly
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
object-shape-tester - v5.1.5
Loading...
Creates a default value for the given shape.