mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-03 21:19:30 +08:00
21 lines
629 B
Text
21 lines
629 B
Text
export = pluginCreator;
|
|
/** @typedef {object} Options
|
|
* @property {boolean=} removeAll
|
|
* @property {boolean=} removeAllButFirst
|
|
* @property {(s: string) => boolean=} remove
|
|
*/
|
|
/**
|
|
* @type {import('postcss').PluginCreator<Options>}
|
|
* @param {Options} opts
|
|
* @return {import('postcss').Plugin}
|
|
*/
|
|
declare function pluginCreator(opts?: Options): import('postcss').Plugin;
|
|
declare namespace pluginCreator {
|
|
export { postcss, Options };
|
|
}
|
|
type Options = {
|
|
removeAll?: boolean | undefined;
|
|
removeAllButFirst?: boolean | undefined;
|
|
remove?: ((s: string) => boolean) | undefined;
|
|
};
|
|
declare var postcss: true;
|