diff --git a/CHANGELOG.md b/CHANGELOG.md index c4b14be..cb0faf3 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 ([#284](https://github.com/tailwindlabs/tailwindcss-typography/pull/284/files)) ## [0.5.6] - 2022-09-01 diff --git a/src/index.d.ts b/src/index.d.ts index fc70688..5c38097 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,2 +1,9 @@ -declare function plugin(options?: { className?: string, target?: 'modern' | 'legacy' }): Function +declare function plugin(options?: Partial<{ className: string; target: 'modern' | 'legacy' }>): { + handler: () => void +} + +declare namespace plugin { + const __isOptionsFunction: true +} + export = plugin