diff --git a/package.json b/package.json index e9d01a6..e464b15 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "@tailwindcss/forms", "version": "0.5.1", "main": "src/index.js", + "types": "src/index.d.ts", "license": "MIT", "repository": "https://github.com/tailwindlabs/tailwindcss-forms", "publishConfig": { diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 0000000..e54342f --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,2 @@ +declare function plugin(options?: { strategy?: 'base' | 'class' }): Function +export = plugin