Re-add string and undefined on variables as I didn't intend to remove them

Signed-off-by: Fuglen <fuglenbusiness@gmail.com>
This commit is contained in:
Fuglen
2025-07-07 09:56:58 +02:00
parent ba7de6052c
commit dc444fab36
@@ -184,9 +184,9 @@ export const getAndWriteAttachments = async (
};
export const createConfluenceVariables = (url: string) => {
let spacekey;
let title;
let titleWithSpaces = '';
let spacekey: string | undefined = undefined;
let title: string | undefined = undefined;
let titleWithSpaces: string | undefined = '';
const params = new URL(url);
const pathParts = params.pathname.split('/').filter(Boolean);