Skip to content
Snippets Groups Projects
Commit 8781a6a0 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Fix lint error

parent 4a1a695c
Branches
Tags
No related merge requests found
...@@ -10,6 +10,7 @@ import { Combination } from '../../../models/round-statistics'; ...@@ -10,6 +10,7 @@ import { Combination } from '../../../models/round-statistics';
export class ContentPercents { export class ContentPercents {
content: Content; content: Content;
percent: number; percent: number;
constructor(content: Content, percent: number) { constructor(content: Content, percent: number) {
this.content = content; this.content = content;
this.percent = percent; this.percent = percent;
...@@ -77,7 +78,7 @@ export class ListStatisticComponent implements OnInit { ...@@ -77,7 +78,7 @@ export class ListStatisticComponent implements OnInit {
let correctCounts = 0; let correctCounts = 0;
let totalCounts = 0; let totalCounts = 0;
const length = options.length; const length = options.length;
let correctIndex = new Array<number>(); const correctIndex = new Array<number>();
let res: number; let res: number;
for (let i = 0; i < length; i++) { for (let i = 0; i < length; i++) {
if (options[i].points > 0) { if (options[i].points > 0) {
...@@ -109,7 +110,7 @@ export class ListStatisticComponent implements OnInit { ...@@ -109,7 +110,7 @@ export class ListStatisticComponent implements OnInit {
let correctCounts = 0; let correctCounts = 0;
let totalCounts = 0; let totalCounts = 0;
const optionsLength = options.length; const optionsLength = options.length;
let correctIndexes = new Array<number>(); const correctIndexes = new Array<number>();
let res: number; let res: number;
let cic = 0; let cic = 0;
for (let i = 0; i < optionsLength; i++) { for (let i = 0; i < optionsLength; i++) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment