mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Tests: Fix eslint errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
ff44a6567e
commit
9759d85fdd
8 changed files with 108 additions and 141 deletions
|
@ -419,13 +419,13 @@ describe('PermissionsService', () => {
|
|||
function permutator(
|
||||
inputArr: NoteGroupPermission[],
|
||||
): NoteGroupPermission[][] {
|
||||
const results = [];
|
||||
const results: NoteGroupPermission[][] = [];
|
||||
|
||||
function permute(
|
||||
arr: NoteGroupPermission[],
|
||||
memo: NoteGroupPermission[],
|
||||
): NoteGroupPermission[][] {
|
||||
let cur;
|
||||
let cur: NoteGroupPermission[];
|
||||
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
cur = arr.splice(i, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue