(
name: string,
compoundsWith: Compounds,
applyFn: VariantFn<'compound'>,
{ compounds, order }: { compounds?: Compounds; order?: number } = {},
)
| 125 | } |
| 126 | |
| 127 | compound( |
| 128 | name: string, |
| 129 | compoundsWith: Compounds, |
| 130 | applyFn: VariantFn<'compound'>, |
| 131 | { compounds, order }: { compounds?: Compounds; order?: number } = {}, |
| 132 | ) { |
| 133 | this.set(name, { |
| 134 | kind: 'compound', |
| 135 | applyFn, |
| 136 | compoundsWith, |
| 137 | compounds: compounds ?? Compounds.StyleRules, |
| 138 | order, |
| 139 | }) |
| 140 | } |
| 141 | |
| 142 | group(fn: () => void, compareFn?: CompareFn) { |
| 143 | this.groupOrder = this.nextOrder() |
no test coverage detected