(name, compoundVariants, variants, prop)
| 81 | } |
| 82 | |
| 83 | export function assertCompoundVariant(name, compoundVariants, variants, prop) { |
| 84 | if (compoundVariants.length > 0 && typeof variants?.[prop] === 'object') { |
| 85 | throw new Error(`[recipe:${name}:${prop}] Conditions are not supported when using compound variants.`) |
| 86 | } |
| 87 | } |
nothing calls this directly
no outgoing calls
no test coverage detected