From c44dd7b8e70e9ab633a33b4f82b6f23c914d8f3d Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Thu, 9 Jun 2022 16:38:45 -0400 Subject: [PATCH] Fix postcss plugin type (#8564) * Fix postcss plugin type * Update changelog --- CHANGELOG.md | 1 + types/index.d.ts | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 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