Files
old-cto-as-you-go/CTOAsYouGo/node_modules/postcss-nested/index.d.ts

31 lines
935 B
TypeScript
Raw Normal View History

2023-07-05 11:02:15 +02:00
// Original definitions (@types/postcss-nested) by Maxim Vorontsov <https://github.com/VorontsovMaxim>
2023-07-01 10:42:40 +02:00
2023-07-05 11:02:15 +02:00
import { Plugin } from 'postcss';
2023-07-01 10:42:40 +02:00
declare namespace nested {
2023-07-05 11:02:15 +02:00
interface Options {
/**
* By default, plugin will bubble only @media and @supports at-rules.
* You can add your custom at-rules to this list by this option.
*/
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;
}
type Nested = Plugin<Options>;
2023-07-01 10:42:40 +02:00
}
2023-07-05 11:02:15 +02:00
declare const nested: nested.Nested;
export = nested;