mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Incorrect number type for autofocus option, should be boolean.
This commit is contained in:
Vendored
+1
-1
@@ -679,7 +679,7 @@ declare module CodeMirror {
|
||||
/** Can be used to make CodeMirror focus itself on initialization. Defaults to off.
|
||||
When fromTextArea is used, and no explicit value is given for this option, it will be set to true when either the source textarea is focused,
|
||||
or it has an autofocus attribute and no other element is focused. */
|
||||
autofocus?: number;
|
||||
autofocus?: boolean;
|
||||
|
||||
/** Controls whether drag-and - drop is enabled. On by default. */
|
||||
dragDrop?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user