Skip to content

Commit

Permalink
fix: Combinator.raws property type (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Jan 20, 2022
1 parent 210fd21 commit a86d19b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion postcss-selector-parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a86d19b

Please sign in to comment.