Skip to content

Commit c1602e7

Browse files
committed
doc: update README.md
1 parent 5f915a0 commit c1602e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ export interface IReactCodemirror extends IDOMEvent {
216216

217217
[codemirror options](https://codemirror.net/doc/manual.html#config)
218218

219-
```js
219+
```ts
220+
interface EditorConfiguration {
221+
220222
/** string| The starting value of the editor. Can be a string, or a document object. */
221223
value?: any;
222224

@@ -373,6 +375,7 @@ lint?: boolean | LintOptions;
373375

374376
/** Optional value to be used in conjunction with CodeMirror’s placeholder add-on. */
375377
placeholder?: string;
378+
}
376379
```
377380

378381
## Editor

0 commit comments

Comments
 (0)