/opt/canhelp/node_modules/next/node_modules/postcss/lib
NameSizeModeActions
at-rule.d.ts28170644editdlrm
at-rule.js4710644editdlrm
comment.d.ts17270644editdlrm
comment.js2030644editdlrm
container.d.ts131570644editdlrm
container.js105020644editdlrm
css-syntax-error.d.ts65030644editdlrm
css-syntax-error.js25240644editdlrm
declaration.d.ts37870644editdlrm
declaration.js4950644editdlrm
document.d.ts19410644editdlrm
document.js6540644editdlrm
fromJSON.d.ts1620644editdlrm
fromJSON.js15060644editdlrm
input.d.ts44240644editdlrm
input.js61900644editdlrm
lazy-result.d.ts50070644editdlrm
lazy-result.js135620644editdlrm
list.d.ts14530644editdlrm
list.js12270644editdlrm
map-generator.js95750644editdlrm
no-work-result.d.ts15730644editdlrm
no-work-result.js25510644editdlrm
node.d.ts138510644editdlrm
node.js87330644editdlrm
parse.d.ts1350644editdlrm
parse.js11470644editdlrm
parser.js147570644editdlrm
postcss.d.mts10530644editdlrm
postcss.d.ts112430644editdlrm
postcss.js28980644editdlrm
postcss.mjs9800644editdlrm
previous-map.d.ts18270644editdlrm
previous-map.js39230644editdlrm
processor.d.ts34060644editdlrm
processor.js18100644editdlrm
result.d.ts44170644editdlrm
result.js7450644editdlrm
root.d.ts22790644editdlrm
root.js12390644editdlrm
rule.d.ts26820644editdlrm
rule.js5690644editdlrm
stringifier.d.ts14110644editdlrm
stringifier.js82200644editdlrm
stringify.d.ts1650644editdlrm
stringify.js2130644editdlrm
symbols.js910644editdlrm
terminal-highlight.js13990644editdlrm
tokenize.js65380644editdlrm
warn-once.js2560644editdlrm
warning.d.ts29940644editdlrm
warning.js7390644editdlrm
Edit: /opt/canhelp/node_modules/next/node_modules/postcss/lib/rule.d.ts (2682B)
import Container, { ContainerProps } from './container.js' declare namespace Rule { export interface RuleRaws extends Record { /** * The space symbols after the last child of the node to the end of the node. */ after?: string /** * The space symbols before the node. It also stores `*` * and `_` symbols before the declaration (IE hack). */ before?: string /** * The symbols between the selector and `{` for rules. */ between?: string /** * Contains `true` if there is semicolon after rule. */ ownSemicolon?: string /** * The rule’s selector with comments. */ selector?: { raw: string value: string } /** * Contains `true` if the last child has an (optional) semicolon. */ semicolon?: boolean } export interface RuleProps extends ContainerProps { /** Information used to generate byte-to-byte equal node string as it was in the origin input. */ raws?: RuleRaws /** Selector or selectors of the rule. */ selector?: string /** Selectors of the rule represented as an array of strings. */ selectors?: string[] } // eslint-disable-next-line @typescript-eslint/no-use-before-define export { Rule_ as default } } /** * Represents a CSS rule: a selector followed by a declaration block. * * ```js * Once (root, { Rule }) { * let a = new Rule({ selector: 'a' }) * a.append(…) * root.append(a) * } * ``` * * ```js * const root = postcss.parse('a{}') * const rule = root.first * rule.type //=> 'rule' * rule.toString() //=> 'a{}' * ``` */ declare class Rule_ extends Container { parent: Container | undefined raws: Rule.RuleRaws /** * The rule’s full selector represented as a string. * * ```js * const root = postcss.parse('a, b { }') * const rule = root.first * rule.selector //=> 'a, b' * ``` */ selector: string /** * An array containing the rule’s individual selectors. * Groups of selectors are split at commas. * * ```js * const root = postcss.parse('a, b { }') * const rule = root.first * * rule.selector //=> 'a, b' * rule.selectors //=> ['a', 'b'] * * rule.selectors = ['a', 'strong'] * rule.selector //=> 'a, strong' * ``` */ selectors: string[] type: 'rule' constructor(defaults?: Rule.RuleProps) assign(overrides: object | Rule.RuleProps): this clone(overrides?: Partial): Rule cloneAfter(overrides?: Partial): Rule cloneBefore(overrides?: Partial): Rule } declare class Rule extends Rule_ {} export = Rule