Skip to content

WrapModule

Defined in: astrobase/src/wraps/types.ts:21

A module provided to the Instance config that implements a strategy for a Wrap type.

TWrappedMetadata

TUnwrappedMetadata

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.