diff --git a/ts/domtools.elementbasic.ts b/ts/domtools.elementbasic.ts index 881463a..2f76933 100644 --- a/ts/domtools.elementbasic.ts +++ b/ts/domtools.elementbasic.ts @@ -22,7 +22,7 @@ export const styles = html` * a basic setup for elements * makes sure everything is in check */ -export const setup = async () => { +export const setup = async (): Promise => { const domTools = await DomTools.setupDomTools(); domTools.runOnce('elementBasicSetup', async () => { // bodyStyles @@ -55,4 +55,5 @@ export const setup = async () => { ${scrollBarStyles} `); }); + return domTools; };