diff --git a/types/react-rte/react-rte-tests.tsx b/types/react-rte/react-rte-tests.tsx index 93e7ffa8f9..df365aeaac 100644 --- a/types/react-rte/react-rte-tests.tsx +++ b/types/react-rte/react-rte-tests.tsx @@ -2,7 +2,7 @@ import * as React from "react"; import RichTextEditor, { EditorValue } from "react-rte"; interface Props { - onChange: (val: string) => void; + onChange?: (val: string) => void; } class MyStatefulEditor extends React.Component {