@pbroom/color-kit/planeTypes

PlaneDefinitionFor

Model-aware definePlane() input.

typeimport type { PlaneDefinitionFor } from '@pbroom/color-kit/plane';types.ts:176
type PlaneDefinitionFor<Model extends PlaneModel> = Model extends 'oklch' ? PlaneDefinition<'oklch'> : PlaneDefinitionWithRequiredModel<Model>;

This is useful for TypeScript callers that want model-specific channel narrowing even when they store the definition in a variable first.

Also exported from