Skip to content

Commit a86d19b

Browse files
authored
fix: Combinator.raws property type (#254)
1 parent 210fd21 commit a86d19b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

postcss-selector-parser.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,16 @@ declare namespace parser {
339339
function selector(opts: ContainerOptions): Selector;
340340
function isSelector(node: any): node is Selector;
341341

342+
interface CombinatorRaws {
343+
value?: string;
344+
spaces?: {
345+
before?: string;
346+
after?: string;
347+
};
348+
}
342349
interface Combinator extends Base {
343-
type: "combinator"
350+
type: "combinator";
351+
raws?: CombinatorRaws;
344352
}
345353
function combinator(opts: NodeOptions): Combinator;
346354
function isCombinator(node: any): node is Combinator;

0 commit comments

Comments
 (0)