File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ let compilerLogsWatcher = chokidar
231
231
. on ( "all" , ( _e , changedPath ) => {
232
232
sendUpdatedDiagnostics ( ) ;
233
233
sendCompilationFinishedMessage ( ) ;
234
- if ( extensionConfiguration . inlayHints . enable === true ) {
234
+ if ( extensionConfiguration . inlayHints ? .enable === true ) {
235
235
sendInlayHintsRefresh ( ) ;
236
236
}
237
237
if ( extensionConfiguration . codeLens === true ) {
@@ -1035,7 +1035,7 @@ function onMessage(msg: p.Message) {
1035
1035
// TODO: Support range for full, and add delta support
1036
1036
full : true ,
1037
1037
} ,
1038
- inlayHintProvider : extensionConfiguration . inlayHints . enable ,
1038
+ inlayHintProvider : extensionConfiguration . inlayHints ? .enable ,
1039
1039
codeLensProvider : extensionConfiguration . codeLens
1040
1040
? {
1041
1041
workDoneProgress : false ,
You can’t perform that action at this time.
0 commit comments