Commit c763df9
Add type declaration (#118)
* Add type declaration
* update types
- 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`
Co-authored-by: Marcus Zanona <marcus@zanona.co>1 parent 7ef7a14 commit c763df9
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments