Skip to content

Commit ac7f9a7

Browse files
authored
Update TypeScript types (#126)
* Update types * Update changelog
1 parent 19e4dda commit ac7f9a7

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Update TypeScript types ([#126](https://github.com/tailwindlabs/tailwindcss-forms/pull/126))
1113

1214
## [0.5.2] - 2022-05-18
1315

src/index.d.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
declare function plugin(options?: { strategy?: 'base' | 'class' }): Function
1+
declare function plugin(options?: Partial<{ strategy: 'base' | 'class' }>): { handler: () => void }
2+
3+
declare namespace plugin {
4+
const __isOptionsFunction: true
5+
}
6+
27
export = plugin

0 commit comments

Comments
 (0)