mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-06 21:54:35 +00:00
Currently definition for autoCloseBrackets doesn't allow boolean values, which is wrong. Setting autoCloseBrackets to true enables autoclosing feature with the default settings, as is visible in the source code of a demo on the CodeMirror's official website: https://codemirror.net/demo/closebrackets.html var editor = CodeMirror.fromTextArea(document.getElementById("code"), {autoCloseBrackets: true});