summaryrefslogtreecommitdiff
path: root/node_modules/postcss/lib/rule.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/postcss/lib/rule.d.ts')
-rw-r--r--node_modules/postcss/lib/rule.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/node_modules/postcss/lib/rule.d.ts b/node_modules/postcss/lib/rule.d.ts
index 5e873b4f..da8aae74 100644
--- a/node_modules/postcss/lib/rule.d.ts
+++ b/node_modules/postcss/lib/rule.d.ts
@@ -40,7 +40,7 @@ declare namespace Rule {
semicolon?: boolean
}
- export type RuleProps = ContainerProps & {
+ export type RuleProps = {
/** Information used to generate byte-to-byte equal node string as it was in the origin input. */
raws?: RuleRaws
} & (
@@ -50,11 +50,11 @@ declare namespace Rule {
selectors?: never
}
| {
- /** Selectors of the rule represented as an array of strings. */
- selectors: string[]
selector?: never
+ /** Selectors of the rule represented as an array of strings. */
+ selectors: readonly string[]
}
- )
+ ) & ContainerProps
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Rule_ as default }