diff --git a/src/test/support/setupTests.ts b/src/test/support/setupTests.ts index ab035a7b..282b5e5e 100644 --- a/src/test/support/setupTests.ts +++ b/src/test/support/setupTests.ts @@ -3,5 +3,12 @@ import jQuery from "jquery"; import "./jqTreeMatchers"; -(window as any).$ = jQuery; // eslint-disable-line @typescript-eslint/no-unsafe-member-access -(window as any).jQuery = jQuery; // eslint-disable-line @typescript-eslint/no-unsafe-member-access +declare global { + interface Window { + $: JQueryStatic; + jQuery: JQueryStatic; + } +} + +window.$ = jQuery; +window.jQuery = jQuery;