summaryrefslogtreecommitdiff
path: root/node_modules/postcss-image-set-function/dist/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/postcss-image-set-function/dist/index.d.ts')
-rw-r--r--node_modules/postcss-image-set-function/dist/index.d.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/postcss-image-set-function/dist/index.d.ts b/node_modules/postcss-image-set-function/dist/index.d.ts
new file mode 100644
index 00000000..f421c2d7
--- /dev/null
+++ b/node_modules/postcss-image-set-function/dist/index.d.ts
@@ -0,0 +1,15 @@
+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;