summaryrefslogtreecommitdiff
path: root/node_modules/postcss-nested/index.d.ts
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2025-11-24 20:54:57 +0100
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2025-11-24 20:57:48 +0100
commitb1e2c8fd5cb5dfa46bc440a12eafaf56cd844b1c (patch)
tree49d360fd6cbc6a2754efe93524ac47ff0fbe0f7d /node_modules/postcss-nested/index.d.ts
Docs
Diffstat (limited to 'node_modules/postcss-nested/index.d.ts')
-rw-r--r--node_modules/postcss-nested/index.d.ts41
1 files changed, 41 insertions, 0 deletions
diff --git a/node_modules/postcss-nested/index.d.ts b/node_modules/postcss-nested/index.d.ts
new file mode 100644
index 0000000..5367682
--- /dev/null
+++ b/node_modules/postcss-nested/index.d.ts
@@ -0,0 +1,41 @@
+// Original definitions (@types/postcss-nested)
+// by Maxim Vorontsov <https://github.com/VorontsovMaxim>
+
+import { PluginCreator } from 'postcss'
+
+declare namespace nested {
+ interface Options {
+ /**
+ * By default, plugin will bubble only `@media`, `@supports` and `@layer`
+ * at-rules. Use this option to add your custom at-rules to this list.
+ */
+ bubble?: string[]
+
+ /**
+ * By default, plugin will unwrap only `@font-face`, `@keyframes`,
+ * and `@document` at-rules. You can add your custom at-rules
+ * to this list by this option.
+ */
+ unwrap?: string[]
+
+ /**
+ * By default, plugin will strip out any empty selector generated
+ * by intermediate nesting levels. You can set this option to `true`
+ * to preserve them.
+ */
+ preserveEmpty?: boolean
+
+ /**
+ * The plugin supports the SCSS custom at-rule `@at-root` which breaks
+ * rule blocks out of their nested position. If you want, you can choose
+ * a new custom name for this rule in your code.
+ */
+ rootRuleName?: string
+ }
+
+ type Nested = PluginCreator<Options>
+}
+
+declare const nested: nested.Nested
+
+export = nested