diff --git a/ts/interfaces/csvparser.ts b/ts/interfaces/csvparser.ts index fd905f7..f8fef87 100644 --- a/ts/interfaces/csvparser.ts +++ b/ts/interfaces/csvparser.ts @@ -1,4 +1,4 @@ -export interface ICsvParser { - parse: () => Promise; - +export abstract class AcCsvParser { + public abstract transactionArray: T[]; + public abstract async getTransactions (): Promise; } \ No newline at end of file diff --git a/ts/interfaces/index.ts b/ts/interfaces/index.ts new file mode 100644 index 0000000..a28b249 --- /dev/null +++ b/ts/interfaces/index.ts @@ -0,0 +1 @@ +export * from './csvparser'; \ No newline at end of file