fix(core): update

This commit is contained in:
Philipp Kunz 2020-09-16 13:57:16 +00:00
parent 090e5b4d42
commit eb871161f9

View File

@ -43,7 +43,7 @@ export class DomTools {
/** /**
* if you can, use the static asysnc .setupDomTools() function instead since it is safer to use. * 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; const globalDomTools: DomTools = globalThis.deesDomTools;
if (!globalDomTools) { if (!globalDomTools) {
throw new Error('You tried to access domtools synchronously too early'); throw new Error('You tried to access domtools synchronously too early');