DefinitelyTyped/types/codemirror
ᎷᎪᎢᎬᏌᏚᏃ ᎢᏌᎡᏟᏃᎪ 545e576c1c [@types/codemirror] Add boolean type to autoCloseBrackets option (#36323)
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});
2019-06-24 12:51:17 -07:00
..
addon [@types/codemirror] Add boolean type to autoCloseBrackets option (#36323) 2019-06-24 12:51:17 -07:00
test [@types/codemirror] Add boolean type to autoCloseBrackets option (#36323) 2019-06-24 12:51:17 -07:00
codemirror-comment.d.ts
codemirror-panel.d.ts
codemirror-runmode.d.ts
codemirror-showhint.d.ts
codemirror-tern.d.ts
index.d.ts
searchcursor.d.ts
tsconfig.json
tslint.json