have forms call predefine post function

This commit is contained in:
gingervitis
2021-01-03 01:10:38 -08:00
committed by Gabe Kangas
parent c61e7e9c14
commit 19ae6205c5
5 changed files with 55 additions and 64 deletions

View File

@@ -27,8 +27,8 @@ export interface UpdateArgs {
export interface ApiPostArgs {
apiPath: string,
data: object,
onSuccess?: () => {},
onError?: () => {},
onSuccess?: (arg: any) => {},
onError?: (arg: any) => {},
}
export interface ConfigDirectoryFields {