Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
emmerich committed Apr 13, 2024
1 parent 2c12ded commit bb0a03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DocumentView/CodeBlock/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ function cleanupLine(line: string): string {
return line.replace(/\r/g, '');
}

let memoryHighlighter = undefined;
let memoryHighlighter: HighlighterGeneric<any, any> | undefined = undefined;

const loadHighlighterSingleton = singleton(async () => {
return await trace('highlighting.loadHighlighter', async () => {
Expand Down

0 comments on commit bb0a03b

Please sign in to comment.