Skip to content

Commit

Permalink
Merge pull request #351 from wxjzeke/master
Browse files Browse the repository at this point in the history
fix onBlur type definition
  • Loading branch information
JiHong88 committed Apr 27, 2020
2 parents fffc96f + 92b42c5 commit 15c9a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ export default class SunEditor {
onKeyUp: EventFn;
onDrop: EventFn;
onChange: (contents: string, core: Core) => void;
onBlur: EventFn;
onBlur: (e: FocusEvent, core: Core) => void;
onPaste: (e: Event, cleanData: string, maxCharCount: number, core: Core) => void;

/**
Expand Down

0 comments on commit 15c9a6d

Please sign in to comment.