Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/postcss/lib/rule.d.ts

    rd565449 r0c6b92a  
    4141  }
    4242
    43   export interface RuleProps extends ContainerProps {
     43  export type RuleProps = {
    4444    /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
    4545    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
    5158
    5259  // eslint-disable-next-line @typescript-eslint/no-use-before-define
     
    7683  parent: ContainerWithChildren | undefined
    7784  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
    7894  /**
    7995   * The rule’s full selector represented as a string.
     
    86102   */
    87103  get selector(): string
    88   set selector(value: string);
    89 
     104  set selector(value: string)
    90105  /**
    91106   * An array containing the rule’s individual selectors.
     
    104119   */
    105120  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[])
    115122}
    116123
Note: See TracChangeset for help on using the changeset viewer.