Skip to content

Commit d5ade8f

Browse files
snnsnnjaywcjlove
authored andcommitted
Remove duplicate onCursorActivity type
Removes duplicate `onCursorActivity` declaration in `typings/index.t.ts`. Duplicate declaration causes error in Typescript compiler.
1 parent 9df1845 commit d5ade8f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

typings/index.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ export interface IReactCodemirror extends IDOMEvent {
8888
* Fires when the overwrite flag is flipped.
8989
* */
9090
onOverwriteToggle?: (instance: CodeMirror.Editor, overwrite: boolean) => void;
91-
/**
92-
* Fired whenever the cursor or selection in this document changes.
93-
* */
94-
onCursorActivity?(instance: CodeMirror.Editor): void;
9591
/**
9692
* Will be fired when the line object is deleted. A line object is associated with the start of the line.
9793
* Mostly useful when you need to find out when your gutter markers on a given line are removed.

0 commit comments

Comments
 (0)