From b070a1f367afeaf707334958c8122cf141ece079 Mon Sep 17 00:00:00 2001 From: MusikAnimal Date: Tue, 10 Dec 2024 01:33:03 -0400 Subject: [PATCH] CodeMirror: fix JSDoc for ext.CodeMirror.ready hook Change-Id: I6c6f5669b4538bf91d310f86bddb0b3933db7b0f --- resources/codemirror.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/codemirror.js b/resources/codemirror.js index 1a01e09f..e04202c6 100644 --- a/resources/codemirror.js +++ b/resources/codemirror.js @@ -492,7 +492,7 @@ class CodeMirror { * * @event CodeMirror~'ext.CodeMirror.ready' * @param {jQuery} $view The CodeMirror view element. - * @param {EditorState} state The CodeMirror instance. + * @param {CodeMirror} cm The CodeMirror instance. * @stable to use */ mw.hook( 'ext.CodeMirror.ready' ).fire( $( this.view.dom ), this );