Skip to content

Commit

Permalink
Fix postcss plugin type (#8564)
Browse files Browse the repository at this point in the history
* Fix postcss plugin type

* Update changelog
  • Loading branch information
thecrypticace committed Jun 9, 2022
1 parent 6b1eb19 commit c44dd7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fix candidate extractor regression ([#8558](https://github.com/tailwindlabs/tailwindcss/pull/8558))
- Split `::backdrop`` into separate defaults group ([#8567](https://github.com/tailwindlabs/tailwindcss/pull/8567))
- Fix postcss plugin type ([#8564](https://github.com/tailwindlabs/tailwindcss/pull/8564))

## [3.1.0] - 2022-06-08

Expand Down
8 changes: 7 additions & 1 deletion types/index.d.ts
@@ -1 +1,7 @@
export type { Config } from './config.d'
import { PluginCreator } from 'postcss'
import type { Config } from './config.d'

declare const plugin: PluginCreator<string | Config | { config: string | Config }>

export { Config }
export default plugin

0 comments on commit c44dd7b

Please sign in to comment.