You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ResolvableTo<T> is an internal type that equals T | ((utils: PluginUtils) => T) - presumably a type that gets resolved during resolveConfig. The expected colour key (gray, in this case) doesn't exist on the function type, causing the issue. I suspect the resolved config should return the expected RecursiveKeyValuePair type with ResolvableTo removed.
The text was updated successfully, but these errors were encountered:
What version of Tailwind CSS are you using?
3.2.4
What build tool (or framework if it abstracts the build tool) are you using?
Vite 3.2.4
What version of Node.js are you using?
16.18.1
What browser are you using?
N/A
What operating system are you using?
Linux
Reproduction URL
Repro on CodeSandbox (may take a second or click in the editor for the IDE to pick up the type issue)
Describe your issue
Using the recently exposed resolveConfig types, many config keys (such as
theme.colors
) throw TS errors:ResolvableTo<T>
is an internal type that equalsT | ((utils: PluginUtils) => T)
- presumably a type that gets resolved duringresolveConfig
. The expected colour key (gray, in this case) doesn't exist on the function type, causing the issue. I suspect the resolved config should return the expectedRecursiveKeyValuePair
type withResolvableTo
removed.The text was updated successfully, but these errors were encountered: