From eb871161f907227c7be2f58699e9671e50db0477 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 16 Sep 2020 13:57:16 +0000 Subject: [PATCH] fix(core): update --- ts/domtools.classes.domtools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');