Allow void return from ControlledEditorOnChange

This commit is contained in:
Chase Holdren 2019-10-03 23:35:26 -04:00 committed by GitHub
parent bab8b07527
commit d0d1e974f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
src/index.d.ts vendored
View File

@ -71,7 +71,7 @@ export default Editor;
export type ControlledEditorOnChange = (
ev: any,
value: string | undefined,
) => string | undefined;
) => string | undefined | void;
export interface ControlledEditorProps extends EditorProps {
/**