MCPcopy
hub / github.com/tailwindlabs/prettier-plugin-tailwindcss / apply

Function apply

src/create-plugin.ts:122–127  ·  view source on GitHub ↗
(target, thisArg, args)

Source from the content-addressed store, hash-verified

120 if (reprint) {
121 printer.print = new Proxy(original.print, {
122 apply(target, thisArg, args) {
123 let [path, options] = args as Parameters<typeof original.print>
124 let env = options.__tailwindcss__ as TransformerEnv
125 reprint(path, { ...env, options: options })
126 return Reflect.apply(target, thisArg, args)
127 },
128 })
129
130 if (original.embed) {

Callers

nothing calls this directly

Calls 1

reprintFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…