AxisValues
On this page

AxisValues

Type in Variants

One point in the axis space: each axis name mapped to one of its declared values.

import type { AxisValues } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

type AxisValues<A extends Record<string, readonly unknown[]>> = {
readonly [K in keyof A]: A[K][number];
};

Source

src/core/variant-family.ts, line 44, at commit af54ddad5

Edit this page Report a problem