From 040d5372c1033bb7c0580ad2c9b6b32f974a20c8 Mon Sep 17 00:00:00 2001 From: Maks Jopek Date: Thu, 29 Apr 2021 20:05:06 +0200 Subject: Version 1.0 --- helpers/helpers.ts | 5 +++-- helpers/helpersBack.ts | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'helpers') 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; -- cgit v1.3.1