Changeset 0c6b92a for imaps-frontend/node_modules/postcss/lib/rule.d.ts
- Timestamp:
- 12/12/24 17:06:06 (5 weeks ago)
- Branches:
- main
- Parents:
- d565449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/postcss/lib/rule.d.ts
rd565449 r0c6b92a 41 41 } 42 42 43 export interface RuleProps extends ContainerProps{43 export type RuleProps = { 44 44 /** Information used to generate byte-to-byte equal node string as it was in the origin input. */ 45 45 raws?: RuleRaws 46 /** Selector or selectors of the rule. */ 47 selector?: string 48 /** Selectors of the rule represented as an array of strings. */ 49 selectors?: string[] 50 } 46 } & ( 47 | { 48 /** Selector or selectors of the rule. */ 49 selector: string 50 selectors?: never 51 } 52 | { 53 selector?: never 54 /** Selectors of the rule represented as an array of strings. */ 55 selectors: readonly string[] 56 } 57 ) & ContainerProps 51 58 52 59 // eslint-disable-next-line @typescript-eslint/no-use-before-define … … 76 83 parent: ContainerWithChildren | undefined 77 84 raws: Rule.RuleRaws 85 type: 'rule' 86 constructor(defaults?: Rule.RuleProps) 87 88 assign(overrides: object | Rule.RuleProps): this 89 clone(overrides?: Partial<Rule.RuleProps>): this 90 91 cloneAfter(overrides?: Partial<Rule.RuleProps>): this 92 93 cloneBefore(overrides?: Partial<Rule.RuleProps>): this 78 94 /** 79 95 * The rule’s full selector represented as a string. … … 86 102 */ 87 103 get selector(): string 88 set selector(value: string); 89 104 set selector(value: string) 90 105 /** 91 106 * An array containing the rule’s individual selectors. … … 104 119 */ 105 120 get selectors(): string[] 106 set selectors(values: string[]); 107 108 type: 'rule' 109 110 constructor(defaults?: Rule.RuleProps) 111 assign(overrides: object | Rule.RuleProps): this 112 clone(overrides?: Partial<Rule.RuleProps>): Rule 113 cloneAfter(overrides?: Partial<Rule.RuleProps>): Rule 114 cloneBefore(overrides?: Partial<Rule.RuleProps>): Rule 121 set selectors(values: string[]) 115 122 } 116 123
Note:
See TracChangeset
for help on using the changeset viewer.