Add correct type annotations to DraftEditor.react.js
Add correct type annotations to DraftEditor.react.js

Summary: This diff fixes some debt introduced when the flow failed to infer the types of these functions when automatically annotating them with the Annotate_exports codemod.

Reviewed By: rubennorte

Differential Revision: D13431571

fbshipit-source-id: 53696e7e179b876ffc9d509406fe84e9a2bbb9af

facebook/draft-js