postcss-discard-comments
Version:
Discard comments in your CSS files with PostCSS.
22 lines • 664 B
TypeScript
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 };
}
declare var postcss: true;
type Options = {
removeAll?: boolean | undefined;
removeAllButFirst?: boolean | undefined;
remove?: ((s: string) => boolean) | undefined;
};
//# sourceMappingURL=index.d.ts.map