-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update types to work with Node16 module resolution (#12097)
* Update types to work with Node16 module resolution * Update changelog
- Loading branch information
1 parent
3fa8ab1
commit bbe3fca
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |