From 80876f8ebca6605febd42f696a8d5f92853ab588 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Thu, 9 Jun 2022 14:15:45 -0400 Subject: [PATCH] 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..2af9fd4daf70 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