Skip to content

Commit 4feef9a

Browse files
authored
Update TypeScript types (#284)
* Update TypeScript types * Update changelog
1 parent 4da62c8 commit 4feef9a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-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 ([#284](https://github.com/tailwindlabs/tailwindcss-typography/pull/284/files))
1113

1214
## [0.5.6] - 2022-09-01
1315

src/index.d.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
declare function plugin(options?: { className?: string, target?: 'modern' | 'legacy' }): Function
1+
declare function plugin(options?: Partial<{ className: string; target: 'modern' | 'legacy' }>): {
2+
handler: () => void
3+
}
4+
5+
declare namespace plugin {
6+
const __isOptionsFunction: true
7+
}
8+
29
export = plugin

0 commit comments

Comments
 (0)