Skip to content

Commit 80876f8

Browse files
committed
Fix postcss plugin type
1 parent 7aa2d4d commit 80876f8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

types/index.d.ts

Lines changed: 7 additions & 1 deletion
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>
5+
6+
export { Config }
7+
export default plugin

0 commit comments

Comments
 (0)