From a86d19b739ed65073b59a5321704529c8e820450 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Thu, 20 Jan 2022 20:58:47 +0900 Subject: [PATCH] fix: `Combinator.raws` property type (#254) --- postcss-selector-parser.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/postcss-selector-parser.d.ts b/postcss-selector-parser.d.ts index 383e222..89a2c52 100644 --- a/postcss-selector-parser.d.ts +++ b/postcss-selector-parser.d.ts @@ -339,8 +339,16 @@ declare namespace parser { function selector(opts: ContainerOptions): Selector; function isSelector(node: any): node is Selector; + interface CombinatorRaws { + value?: string; + spaces?: { + before?: string; + after?: string; + }; + } interface Combinator extends Base { - type: "combinator" + type: "combinator"; + raws?: CombinatorRaws; } function combinator(opts: NodeOptions): Combinator; function isCombinator(node: any): node is Combinator;