Skip to content

Commit

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

* Update changelog
  • Loading branch information
bradlc committed Sep 2, 2022
1 parent 4da62c8 commit 4feef9a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
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 ([#284](https://github.com/tailwindlabs/tailwindcss-typography/pull/284/files))

## [0.5.6] - 2022-09-01

Expand Down
9 changes: 8 additions & 1 deletion 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

1 comment on commit 4feef9a

@vercel
Copy link

@vercel vercel bot commented on 4feef9a 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.