diff --git a/CHANGELOG.md b/CHANGELOG.md index 066618b..e0229f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Update TypeScript types ([#126](https://github.com/tailwindlabs/tailwindcss-forms/pull/126)) ## [0.5.2] - 2022-05-18 diff --git a/src/index.d.ts b/src/index.d.ts index e54342f..1918866 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,2 +1,7 @@ -declare function plugin(options?: { strategy?: 'base' | 'class' }): Function +declare function plugin(options?: Partial<{ strategy: 'base' | 'class' }>): { handler: () => void } + +declare namespace plugin { + const __isOptionsFunction: true +} + export = plugin