declarations
Version:
[](https://www.npmjs.com/package/declarations)
14 lines (11 loc) • 499 B
TypeScript
// Type definitions for CodeMirror
// Project: https://github.com/marijnh/CodeMirror
// Definitions by: Sixin Li <https://github.com/sixinli>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// See docs https://codemirror.net/doc/manual.html#addon_matchbrackets
declare namespace CodeMirror {
interface EditorConfiguration {
// when set to true, causes matching brackets to be highlighted whenever the cursor is next to them
matchBrackets?: boolean;
}
}