Skip to content

Commit 359768d

Browse files
committed
fix(sort-regexp): fix types
1 parent 971b90a commit 359768d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rules/sort-regexp/is-capturing-context.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type {
2-
LookaroundAssertion,
32
CapturingGroup,
43
Alternative,
54
Pattern,
@@ -14,7 +13,7 @@ import type {
1413
*/
1514
export function isCapturingContext(
1615
node: Alternative['parent'],
17-
): node is LookaroundAssertion | CapturingGroup | Pattern | Group {
16+
): node is CapturingGroup | Pattern | Group {
1817
return (
1918
node.type === 'CapturingGroup' ||
2019
node.type === 'Group' ||

0 commit comments

Comments
 (0)