Skip to content

Commit

Permalink
INT-3287: Added readonly to the props that are overridden/unused
Browse files Browse the repository at this point in the history
  • Loading branch information
danoaky-tiny committed Feb 16, 2024
1 parent e2b1907 commit 200439a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/ts/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface IProps {
initialValue: string;
onEditorChange: (a: string, editor: TinyMCEEditor) => void;
value: string;
init: EditorOptions & { selector?: undefined; target?: undefined };
init: EditorOptions & Partial<Record<'selector' | 'target' | 'readonly', undefined>>;
tagName: string;
cloudChannel: string;
plugins: NonNullable<EditorOptions['plugins']>;
Expand Down

0 comments on commit 200439a

Please sign in to comment.