feat: refactoring middlewares to typescript.

This commit is contained in:
Ahmed Bouhuolia
2020-09-06 23:36:37 +02:00
parent df0f842681
commit d3870974c0
17 changed files with 97 additions and 56 deletions

View File

@@ -0,0 +1,15 @@
export interface IAccountDTO {
name: string,
code: string,
description: string,
accountTypeNumber: number,
};
export interface IAccount {
name: string,
code: string,
description: string,
accountTypeNumber: number,
};

View File

@@ -46,8 +46,15 @@ import {
IOptionDTO,
IOptionsDTO,
} from './Options';
import {
IAccount,
IAccountDTO,
} from './Account';
export {
IAccount,
IAccountDTO,
IBillPaymentEntry,
IBillPayment,
IBillPaymentOTD,