From c242a89e78da4a14f82ffdd04bd3530e40665b03 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Tue, 18 Aug 2020 10:26:28 +0200 Subject: [PATCH] updateAnnos -> updateAnnotations --- packages/kbn-monaco/src/xjson/language.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/kbn-monaco/src/xjson/language.ts b/packages/kbn-monaco/src/xjson/language.ts index 7b811eaee6ae..4ae7f2402ed2 100644 --- a/packages/kbn-monaco/src/xjson/language.ts +++ b/packages/kbn-monaco/src/xjson/language.ts @@ -54,7 +54,7 @@ const OWNER = 'XJSON_GRAMMAR_CHECKER'; export const registerGrammarChecker = () => { const allDisposables: monaco.IDisposable[] = []; - const updateAnnos = async (model: monaco.editor.IModel): Promise => { + const updateAnnotations = async (model: monaco.editor.IModel): Promise => { if (model.isDisposed()) { return; } @@ -84,11 +84,11 @@ export const registerGrammarChecker = () => { if (model.getModeId() === ID) { allDisposables.push( model.onDidChangeContent(async () => { - updateAnnos(model); + updateAnnotations(model); }) ); - updateAnnos(model); + updateAnnotations(model); } }; allDisposables.push(monaco.editor.onDidCreateModel(onModelAdd));