diff options
Diffstat (limited to 'editors/code/src')
-rw-r--r-- | editors/code/src/commands/inlay_hints.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/code/src/commands/inlay_hints.ts b/editors/code/src/commands/inlay_hints.ts index 34f7ccddb..3ba9da48b 100644 --- a/editors/code/src/commands/inlay_hints.ts +++ b/editors/code/src/commands/inlay_hints.ts | |||
@@ -85,7 +85,10 @@ export class HintsUpdater { | |||
85 | range: hint.range, | 85 | range: hint.range, |
86 | renderOptions: { after: { contentText: `: ${hint.label}` } } | 86 | renderOptions: { after: { contentText: `: ${hint.label}` } } |
87 | })); | 87 | })); |
88 | return editor.setDecorations(typeHintDecorationType, newDecorations); | 88 | return editor.setDecorations( |
89 | typeHintDecorationType, | ||
90 | newDecorations | ||
91 | ); | ||
89 | } | 92 | } |
90 | } | 93 | } |
91 | 94 | ||