We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61dc99f commit 585c207Copy full SHA for 585c207
types/index.d.ts
@@ -1,7 +1,11 @@
1
-import { PluginCreator } from 'postcss'
+import type { 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
+declare type _Config = Config
+declare namespace plugin {
8
+ export type { _Config as Config }
9
+}
10
+
11
+export = plugin
0 commit comments