Skip to content

Commit

Permalink
Update types to work with Node16 module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Sep 27, 2023
1 parent 61dc99f commit 585c207
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { PluginCreator } from 'postcss'
import type { PluginCreator } from 'postcss'
import type { Config } from './config.d'

declare const plugin: PluginCreator<string | Config | { config: string | Config }>

export { Config }
export default plugin
declare type _Config = Config
declare namespace plugin {
export type { _Config as Config }
}

export = plugin

0 comments on commit 585c207

Please sign in to comment.