Fix eslint warnings

This commit is contained in:
Joscha 2025-02-10 15:28:30 +01:00
parent 92f5e37a4c
commit 4aeb9eb8bd
6 changed files with 10 additions and 9 deletions

View file

@ -6,7 +6,7 @@ export class Segment {
readonly iteration: number,
) {
assert(Number.isInteger(iteration), "n must be an integer");
assert(iteration >= 0), "n must not be negative";
assert(iteration >= 0, "n must not be negative");
}
static parse(text: string): Segment {