diff options
Diffstat (limited to 'helpers')
| -rw-r--r-- | helpers/helpers.ts | 5 | ||||
| -rw-r--r-- | helpers/helpersBack.ts | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/helpers/helpers.ts b/helpers/helpers.ts index 3800040..9cd15cc 100644 --- a/helpers/helpers.ts +++ b/helpers/helpers.ts @@ -17,9 +17,10 @@ export default class Helpers { params: params }) }) - ).text(); + ).json(); // console.log(t); - return JSON.parse(t); + // return JSON.parse(t); + return t; } static dbResToFiaTable(dbRes: dbRes): fiaTable { diff --git a/helpers/helpersBack.ts b/helpers/helpersBack.ts index 6a3dfd7..b0e9a6d 100644 --- a/helpers/helpersBack.ts +++ b/helpers/helpersBack.ts @@ -118,6 +118,11 @@ export interface Ghost { color: tColors; coords?: Coordinates; } +export interface OldTd { + className: string; + innerHTML: string; + count: string; +} export interface Chequer { color: tColors; ghost?: Ghost; // number; // 1 | 2 | 3 | 4 | 5 | 6; |
