CheckSpec type
Makes reserved names fail at the call site.
import type { CheckSpec } from '@dioramajs/diorama/effects'type CheckSpec<P> = { [K in keyof P]: K extends ReservedAttr ? `"${K & string}" is a built-in input or reserved name, pick another` : K extends keyof InputUniforms ? P[K] extends ChoiceParam<string> ? P[K] : `"${K & string}" is a built-in input or reserved name, pick another` : K extends OptionName ? `"${K & string}" is an option: effect({}, { ${K & string} }, setup)` : P[K] }Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.