Skip to content

Commit c44dd7b

Browse files
Fix postcss plugin type (#8564)
* Fix postcss plugin type * Update changelog
1 parent 6b1eb19 commit c44dd7b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

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

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

1516
## [3.1.0] - 2022-06-08
1617

types/index.d.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
export type { Config } from './config.d'
1+
import { PluginCreator } from 'postcss'
2+
import type { Config } from './config.d'
3+
4+
declare const plugin: PluginCreator<string | Config | { config: string | Config }>
5+
6+
export { Config }
7+
export default plugin

0 commit comments

Comments
 (0)