use null instead of undefined
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Jan Bader 2022-08-21 20:01:41 +00:00
parent 0c2438373d
commit 0b36048f47
2 changed files with 4 additions and 4 deletions

View File

@ -16,9 +16,9 @@ const TX = ref<Transaction>({
Memo: "", Memo: "",
Amount: 0, Amount: 0,
Payee: "", Payee: "",
PayeeID: undefined, PayeeID: null,
Category: "", Category: "",
CategoryID: undefined, CategoryID: null,
CategoryGroup: "", CategoryGroup: "",
GroupID: "", GroupID: "",
ID: "", ID: "",

View File

@ -17,12 +17,12 @@ export interface Transaction {
TransferAccount: string; TransferAccount: string;
CategoryGroup: string; CategoryGroup: string;
Category: string; Category: string;
CategoryID: string | undefined; CategoryID: string | null;
Memo: string; Memo: string;
Status: string; Status: string;
GroupID: string; GroupID: string;
Payee: string; Payee: string;
PayeeID: string | undefined; PayeeID: string | null;
Amount: number; Amount: number;
Reconciled: boolean; Reconciled: boolean;
Account: string; Account: string;