epiphany/node_modules/postcss-image-set-function/dist/index.d.ts
2023-12-09 22:48:07 -08:00

15 lines
611 B
TypeScript

import type { PluginCreator } from 'postcss';
/** postcss-image-set-function plugin options */
export type pluginOptions = {
/** Preserve the original notation. default: true */
preserve?: boolean;
/**
* Determine how invalid usage of `image-set()` should be handled.
* By default, invalid usages of `image-set()` are ignored.
* They can be configured to emit a warning with `warn` or throw an exception with `throw`.
* default: 'ignore'
*/
onInvalid?: 'warn' | 'throw' | 'ignore' | false;
};
declare const creator: PluginCreator<pluginOptions>;
export default creator;