Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tailwindcss type definitions via JSDocs? #13940

Closed
pdehaan opened this issue Aug 13, 2022 · 0 comments
Closed

Add Tailwindcss type definitions via JSDocs? #13940

pdehaan opened this issue Aug 13, 2022 · 0 comments

Comments

@pdehaan
Copy link
Contributor

pdehaan commented Aug 13, 2022

Description

More of a dev enhancement, but saw this recently and it worked pretty good on newer builds of tailwindcss.
tailwindlabs/tailwindcss#7891

Basically, /** @type {import('tailwindcss/types').Config} */

Per the tailwindcss CHANGELOG, I believe this code landed in 3.1.0, so we might need to bump our current version of tailwindcss in order for the type definitions to work.

But it does mean that we'd get code completions in VS Code for some tailwind stuff. 🤷

┆Issue is synchronized with this Jira Task

@clouserw clouserw closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants