fix(core): update
This commit is contained in:
parent
090e5b4d42
commit
eb871161f9
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user