type-alias / @typed/fx

Versioned.Versioned.VersionContext

Extracts the context required to get the version.

Package version
2.0.0-beta.7
Category
Type utilities
Since
1.0.0
Member of
Versioned.Versioned

Import

import { Versioned } from "@typed/fx";

Access Versioned.Versioned.VersionContext through the imported Versioned export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

type VersionContext<T> = T extends Versioned<infer R, any, any, any, any, any, any, any> ? R : never;

Why

Extracts only the services required to sample a Versioned token, which may differ from the push and current-read environments.

Ownership and lifetime

VersionContext is a contract and performs no acquisition. Implementations retain the errors, services, interruption, and Scope requirements expressed by its members.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source