From 0cf6aab426a9262ac9a7e74ea16d40f999d45f92 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 7 Jul 2019 17:18:12 +0200 Subject: [PATCH] fix(core): update --- ts/interfaces/csvparser.ts | 6 +++--- ts/interfaces/index.ts | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 ts/interfaces/index.ts 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