createVersionedValueMap()
Home > @backstage/version-bridge
> createVersionedValueMap
Creates a container for a map of versioned values that implements VersionedValue.
Signature:
function createVersionedValueMap<Versions extends {
[version: number]: unknown;
}>(versions: Versions): VersionedValue<Versions>;
Parameters
Parameter |
Type |
Description |
---|---|---|
versions |
Versions |
VersionedValue<Versions>