AxisValues
이 페이지에서

AxisValues

타입, 배리언트 분류

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

import type { AxisValues } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

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

소스

src/core/variant-family.ts, 44행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고