Skip to content

Commit

Permalink
chore(parser/selector): minimize branch diff
Browse files Browse the repository at this point in the history
  • Loading branch information
bhsd-harry committed Sep 21, 2024
1 parent 74ff1ea commit e4b11b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## v1.12.8
## v1.13.0

*2024-09-21*

Expand Down
8 changes: 7 additions & 1 deletion parser/selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ import {Ranges} from '../lib/ranges';
import {Title} from '../lib/title';
import type {AttributesParentBase} from '../mixin/attributesParent';
import type {AstElement} from '../lib/element';
import type {Token, AstNodes} from '../internal';
import type {
Token,

/* NOT FOR BROWSER */

AstNodes,
} from '../internal';

// @ts-expect-error unconstrained predicate
export type TokenPredicate<T = Token> = (token: AstElement) => token is T;
Expand Down

0 comments on commit e4b11b7

Please sign in to comment.