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 type declaration #118

Merged
merged 2 commits into from
May 18, 2022
Merged

Add type declaration #118

merged 2 commits into from
May 18, 2022

Conversation

RobinMalfait
Copy link
Contributor

@RobinMalfait RobinMalfait commented May 18, 2022

This PR is a continuation of #117 with a few changes. These changes include:

  • Refactored to use a simple function instead. This way it doesn't rely on the @types/tailwindcss Definetely Typed repo which could cause issues when we release Tailwind CSS 3.1 with our own types.
  • Use export = plugin instead of export default plugin so that it is compatible with module.export which is what most people use.

Closes: #117

zanona and others added 2 commits May 4, 2022 10:48
- This way it doesn't rely on the `@types/tailwindcss` Definetely Typed
  repo which could cause issues when we release Tailwind CSS 3.1 with
  our own types.
- Use `export = plugin` instead of `export default plugin` so that it is
  compatible with `module.export`
@vercel
Copy link

vercel bot commented May 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
tailwindcss-forms ✅ Ready (Inspect) Visit Preview May 18, 2022 at 1:30PM (UTC)

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

Successfully merging this pull request may close these issues.

None yet

2 participants