tailwindcss/integrations/cli
silverwind 6cf1af26b3
Fix TS2742 error when inferring exported Config type (#19707)
Type aliases get resolved through to `UserConfig` during declaration
emit, which lives in a hashed internal DTS chunk with no stable import
path, causing TS2742. This is 100% backwards-compatible because type
aliases and interfaces are structurally comparable.

Fixes: https://github.com/tailwindlabs/tailwindcss/issues/15844
Fixes: https://github.com/tailwindlabs/tailwindcss/issues/19706
Fixes: https://github.com/tailwindlabs/tailwindcss/discussions/15458

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2026-04-29 18:48:08 +00:00
..
config.test.ts Fix TS2742 error when inferring exported Config type (#19707) 2026-04-29 18:48:08 +00:00
index.test.ts CLI: Emit comment when source maps are saved to files (#19447) 2025-12-18 15:02:27 -05:00
plugins.test.ts Fix TS2742 error when inferring exported Config type (#19707) 2026-04-29 18:48:08 +00:00
standalone.test.ts Fix invalid template tags in tests (#19400) 2025-12-02 14:51:21 -05:00