Skip to content

Commit

Permalink
Merge pull request #79 from Mamoru1234/master
Browse files Browse the repository at this point in the history
Made onTouchStart optional #78
  • Loading branch information
scniro committed Apr 24, 2018
2 parents f4dc069 + 8399c80 commit 845a333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Expand Up @@ -80,7 +80,7 @@ export interface ICodeMirror {
onPaste?: DomEvent;
onScroll?: (editor: IInstance, data: codemirror.ScrollInfo) => void;
onSelection?: (editor: IInstance, data: IGetSelectionOptions) => void;
onTouchStart: DomEvent;
onTouchStart?: DomEvent;
onUpdate?: (editor: IInstance) => void;
onViewportChange?: (editor: IInstance, start: number, end: number) => void;
options?: codemirror.EditorConfiguration
Expand Down

0 comments on commit 845a333

Please sign in to comment.