From 169b510804599fbfefa6e0f9ae3bb98acc7e2f72 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Thu, 9 Jun 2022 14:15:45 -0400 Subject: [PATCH 1/2] Fix postcss plugin type --- types/index.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 11bec63ff25b..131877e77868 100644 --- a/types/index.d.ts +++ b/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 + +export { Config } +export default plugin From d8682ef2c7eae082b4d1bcdbc906518d0e647b82 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Thu, 9 Jun 2022 16:34:36 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e47c13172cc7..15dd1f44146e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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