Skip to content

Commit

Permalink
Update TypeScript types (#126)
Browse files Browse the repository at this point in the history
* Update types

* Update changelog
  • Loading branch information
bradlc authored Sep 2, 2022
1 parent 19e4dda commit ac7f9a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -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

1 comment on commit ac7f9a7

@vercel
Copy link

@vercel vercel bot commented on ac7f9a7 Sep 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.