From 96d687daac26bdd79460b7b467f15d533debf90c Mon Sep 17 00:00:00 2001 From: Niedziolka Michal Date: Sun, 12 Mar 2023 20:59:13 +0100 Subject: [PATCH] Add type --- lib/tabbedPageBuilder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tabbedPageBuilder.ts b/lib/tabbedPageBuilder.ts index 72e288a4b..927f92dd7 100644 --- a/lib/tabbedPageBuilder.ts +++ b/lib/tabbedPageBuilder.ts @@ -55,7 +55,7 @@ function addJS(currentPage, tmpl) { * @returns the processed template string */ function addHiddenCSS(currentPage, tmpl) { - function getHiddenCSS(path) { + function getHiddenCSS(path: string) { const content = fse.readFileSync(path, "utf8"); return minifyCSS(content, path); }