Fix linting on frontend TS

Add return type (void) to replaceIcons function
This commit is contained in:
Alice Gaudon 2021-11-10 17:09:30 +01:00
parent ef9cb663e7
commit 4a09d2e1fe

View File

@ -2,7 +2,7 @@ import feather from "feather-icons";
let alreadyReplaced = false;
export function replaceIcons(once: boolean = true) {
export function replaceIcons(once: boolean = true): void {
if (!once || !alreadyReplaced) {
alreadyReplaced = true;
feather.replace();