Skip to content

Commit

Permalink
Merge pull request #135 from lux-group/TBB-415
Browse files Browse the repository at this point in the history
[TBB-415] Fix linting issues and change eslintrc config
  • Loading branch information
jamszh authored Sep 10, 2021
2 parents 2444b60 + 6ab0e15 commit 697491d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}

- run: yarn tsc types/**/*.d.ts
- run: yarn lint
- persist_to_workspace:
root: ~/repo
paths: .
Expand Down
7 changes: 3 additions & 4 deletions types/api/reporting.ts → types/api/reporting.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export namespace Reporting {

interface OrderStats {
period: {
from: string,
from: string;
to: string;
},
};
min: number;
count: number;
is_popular: boolean;
Expand All @@ -25,13 +25,12 @@ export namespace Reporting {
result: OfferResult;
}

type OfferResult = Array<OfferStats>
type OfferResult = Array<OfferStats>;

interface OfferStats {
total_purchase: string;
offer_id: string;
page_views: string | null;
region: string;
}

}

0 comments on commit 697491d

Please sign in to comment.