diff options
Diffstat (limited to 'editors/code/src/highlighting.ts')
-rw-r--r-- | editors/code/src/highlighting.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts index d21d8a06a..48f2a2547 100644 --- a/editors/code/src/highlighting.ts +++ b/editors/code/src/highlighting.ts | |||
@@ -40,9 +40,10 @@ export class Highlighter { | |||
40 | return [tag, decor]; | 40 | return [tag, decor]; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | const decorations: Iterable< | 43 | const decorations: Iterable<[ |
44 | [string, vscode.TextEditorDecorationType] | 44 | string, |
45 | > = [ | 45 | vscode.TextEditorDecorationType |
46 | ]> = [ | ||
46 | decoration('comment'), | 47 | decoration('comment'), |
47 | decoration('string'), | 48 | decoration('string'), |
48 | decoration('keyword'), | 49 | decoration('keyword'), |