Skip to content

Commit 845a333

Browse files
authored
Merge pull request #79 from Mamoru1234/master
Made onTouchStart optional #78
2 parents f4dc069 + 8399c80 commit 845a333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface ICodeMirror {
8080
onPaste?: DomEvent;
8181
onScroll?: (editor: IInstance, data: codemirror.ScrollInfo) => void;
8282
onSelection?: (editor: IInstance, data: IGetSelectionOptions) => void;
83-
onTouchStart: DomEvent;
83+
onTouchStart?: DomEvent;
8484
onUpdate?: (editor: IInstance) => void;
8585
onViewportChange?: (editor: IInstance, start: number, end: number) => void;
8686
options?: codemirror.EditorConfiguration

0 commit comments

Comments
 (0)