Skip to content

Commit

Permalink
Remove return type annotation on method externalKeyBindings (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
lousander authored Mar 5, 2020
1 parent 8458b35 commit edb1893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MegadraftEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default class MegadraftEditor extends Component {
this.props.onChange(editorState);
}

externalKeyBindings(e): string {
externalKeyBindings(e) {
for (const kb of this.keyBindings) {
if (kb.isKeyBound(e)) {
return kb.name;
Expand Down

0 comments on commit edb1893

Please sign in to comment.