Skip to content

Commit

Permalink
fix: Node#prev and Node#next type for the first/last node
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Dec 29, 2023
1 parent 7d543aa commit 92c7f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postcss-selector-parser.d.ts
Expand Up @@ -164,8 +164,8 @@ declare namespace parser {
rawSpaceAfter: string;
remove(): Node;
replaceWith(...nodes: Node[]): Node;
next(): Node;
prev(): Node;
next(): Node | undefined;
prev(): Node | undefined;
clone(opts?: {[override: string]:any}): this;
/**
* Return whether this node includes the character at the position of the given line and column.
Expand Down

0 comments on commit 92c7f04

Please sign in to comment.