We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241b1de commit 31a6b30Copy full SHA for 31a6b30
src/highlight.ts
@@ -19,7 +19,7 @@ export class HighlightStyle implements Highlighter {
19
readonly themeType: "dark" | "light" | undefined
20
21
readonly style: (tags: readonly Tag[]) => string | null
22
- readonly scope: ((type: NodeType) => boolean) | undefined
+ readonly scope?: (type: NodeType) => boolean
23
24
private constructor(
25
/// The tag styles used to create this highlight style.
0 commit comments