postcss 8.5.5 → 8.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/container.d.ts +7 -4
- package/lib/processor.js +1 -1
- package/package.json +1 -1
package/lib/container.d.ts
CHANGED
@@ -2,14 +2,17 @@ import AtRule from './at-rule.js'
|
|
2
2
|
import Comment from './comment.js'
|
3
3
|
import Declaration from './declaration.js'
|
4
4
|
import Node, { ChildNode, ChildProps, NodeProps } from './node.js'
|
5
|
+
import { Root } from './postcss.js'
|
5
6
|
import Rule from './rule.js'
|
6
7
|
|
7
8
|
declare namespace Container {
|
8
|
-
export
|
9
|
-
Child extends Node = ChildNode
|
10
|
-
> extends Container_<Child> {
|
9
|
+
export type ContainerWithChildren<Child extends Node = ChildNode> = {
|
11
10
|
nodes: Child[]
|
12
|
-
}
|
11
|
+
} & (
|
12
|
+
| AtRule
|
13
|
+
| Root
|
14
|
+
| Rule
|
15
|
+
)
|
13
16
|
|
14
17
|
export interface ValueOptions {
|
15
18
|
/**
|
package/lib/processor.js
CHANGED