WrapModule
Defined in: astrobase/src/wraps/types.ts:21
A module provided to the Instance config that implements a strategy for a Wrap type.
Type Parameters
Section titled “Type Parameters”TWrappedMetadata
Section titled “TWrappedMetadata”TWrappedMetadata
TUnwrappedMetadata
Section titled “TUnwrappedMetadata”TUnwrappedMetadata
Properties
Section titled “Properties”unwrap
Section titled “unwrap”unwrap:
WrapFn
<TWrappedMetadata
,TUnwrappedMetadata
>
Defined in: astrobase/src/wraps/types.ts:23
The strategy function for unwrapping the value.
wrap:
WrapFn
<TUnwrappedMetadata
,TWrappedMetadata
>
Defined in: astrobase/src/wraps/types.ts:25
The strategy function for wrapping the value.