mirror of
https://github.com/suren-atoyan/monaco-react.git
synced 2026-01-18 15:54:45 +00:00
Allow void return from ControlledEditorOnChange
This commit is contained in:
parent
bab8b07527
commit
d0d1e974f0
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@ -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 {
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user