MCPcopy
hub / github.com/tailwindlabs/tailwindcss / suggest

Method suggest

packages/tailwindcss/src/utilities.ts:134–141  ·  view source on GitHub ↗
(name: string, groups: () => SuggestionGroup[])

Source from the content-addressed store, hash-verified

132 }
133
134 suggest(name: string, groups: () => SuggestionGroup[]) {
135 let existingGroups = this.completions.get(name)
136 if (existingGroups) {
137 this.completions.set(name, () => [...existingGroups?.(), ...groups?.()])
138 } else {
139 this.completions.set(name, groups)
140 }
141 }
142
143 keys(kind: 'static' | 'functional') {
144 let keys: string[] = []

Callers 2

suggestFunction · 0.45
createCssUtilityFunction · 0.45

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected