Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Jul 22, 2021
1 parent e02b4da commit 148096e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class FieldEditor extends PureComponent<FieldEdiorProps, FieldEditorState
});
};

onFormatParamsChange = (newParams: { fieldType: string; [key: string]: any }) => {
onFormatParamsChange = (newParams: { [key: string]: any }) => {
const { fieldFormatId } = this.state;
this.onFormatChange(fieldFormatId as string, newParams);
};
Expand Down

0 comments on commit 148096e

Please sign in to comment.