clean up and extra fields

This commit is contained in:
gingervitis
2021-01-03 04:10:08 -08:00
committed by Gabe Kangas
parent f385233109
commit f19dba31da
3 changed files with 15 additions and 22 deletions

View File

@ -1,7 +1,7 @@
// TS types for elements on the Config pages
export interface TextFieldProps {
handleResetValue?: (fieldName) => void;
handleResetValue?: (fieldName: string) => void;
fieldName: string;
initialValues?: any;
type?: string;
@ -27,8 +27,8 @@ export interface UpdateArgs {
export interface ApiPostArgs {
apiPath: string,
data: object,
onSuccess?: (arg: any) => {},
onError?: (arg: any) => {},
onSuccess?: (arg: any) => void,
onError?: (arg: any) => void,
}
export interface ConfigDirectoryFields {