diff --git a/types/codemirror/index.d.ts b/types/codemirror/index.d.ts index 126eafe013..8fd9f59148 100644 --- a/types/codemirror/index.d.ts +++ b/types/codemirror/index.d.ts @@ -1141,6 +1141,7 @@ declare namespace CodeMirror { interface LintStateOptions { async: boolean; hasGutters: boolean; + onUpdateLinting?: (annotationsNotSorted: Annotation[], annotations: Annotation[], codeMirror: Editor) => void; } /**