Skip to main content

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

**Returns:**

VersionedValue<Versions>