diff --git a/ts/domtools.classes.domtools.ts b/ts/domtools.classes.domtools.ts index 6dd3235..eccde87 100644 --- a/ts/domtools.classes.domtools.ts +++ b/ts/domtools.classes.domtools.ts @@ -43,7 +43,7 @@ export class DomTools { /** * if you can, use the static asysnc .setupDomTools() function instead since it is safer to use. */ - public static getGlobalDomToolsSync() { + public static getGlobalDomToolsSync(): DomTools { const globalDomTools: DomTools = globalThis.deesDomTools; if (!globalDomTools) { throw new Error('You tried to access domtools synchronously too early');