From 5cb74b1bf31f44311b4ee54ea320b81f68879f07 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Tue, 15 Mar 2022 19:16:56 +0100 Subject: chore: fix some lint warnings (#613) Co-authored-by: Shinigami --- src/system.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/system.ts') diff --git a/src/system.ts b/src/system.ts index 33413a23..afaed741 100644 --- a/src/system.ts +++ b/src/system.ts @@ -14,6 +14,12 @@ const commonMimeTypes = [ 'text/html', ]; +/** + * Converts the given set to an array. + * + * @param set The set to convert. + */ +// TODO ST-DDT 2022-03-11: Replace with Array.from(Set) function setToArray(set: Set): T[] { // shortcut if Array.from is available if (Array.from) { -- cgit v1.2.3