File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
private/kbn-esql-editor/src
shared/shared-ux/code_editor/impl Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -698,8 +698,8 @@ export const ESQLEditor = memo(function ESQLEditor({
698698
699699 onLayoutChangeRef . current = onLayoutChange ;
700700
701- const codeEditorOptions : CodeEditorProps [ 'options' ] = useMemo (
702- ( ) => ( {
701+ const codeEditorOptions = useMemo (
702+ ( ) : NonNullable < CodeEditorProps [ 'options' ] > => ( {
703703 hover : {
704704 above : false ,
705705 } ,
@@ -713,7 +713,7 @@ export const ESQLEditor = memo(function ESQLEditor({
713713 // this becomes confusing with multiple markers, so quick fixes
714714 // will be proposed only within the tooltip
715715 lightbulb : {
716- enabled : false ,
716+ enabled : monaco . editor . ShowLightbulbIconMode . Off ,
717717 } ,
718718 lineDecorationsWidth : 20 ,
719719 lineNumbers : 'on' ,
Original file line number Diff line number Diff line change @@ -536,7 +536,7 @@ export const CodeEditor: React.FC<CodeEditorProps> = ({
536536 // outer scrollbars.
537537 alwaysConsumeMouseWheel : false ,
538538 } ,
539- wordBasedSuggestions : false ,
539+ wordBasedSuggestions : 'off' ,
540540 wordWrap : 'on' ,
541541 wrappingIndent : 'indent' ,
542542 matchBrackets : 'never' ,
You can’t perform that action at this time.
0 commit comments