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 26de7be8.

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 26de7be8

Edit this page Report a problem