diff --git a/src/dom-element-getter-helpers.ts b/src/dom-element-getter-helpers.ts index ffc72b3..f0c4b6e 100644 --- a/src/dom-element-getter-helpers.ts +++ b/src/dom-element-getter-helpers.ts @@ -8,12 +8,12 @@ type AllProps = AppProps & appName?: string; }; -interface HelperOpts { - domElementGetter?(): HTMLElement; +interface HelperOpts { + domElementGetter?(props?: ExtraProps): HTMLElement; } export function chooseDomElementGetter( - opts: HelperOpts, + opts: HelperOpts, props: AllProps ): () => HTMLElement { let domElementGetter;