We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48e6e9a commit 085a422Copy full SHA for 085a422
index.ts
@@ -1,6 +1,7 @@
1
import reservedNames from 'github-reserved-names/reserved-names.json' with {type: 'json'};
2
import {addTests} from './collector.ts';
3
4
+// eslint-disable-next-line @typescript-eslint/no-deprecated -- Intentionally using typed querySelector
5
const $: typeof document.querySelector = <E extends Element = Element>(selector: string) => document.querySelector<E>(selector);
6
const exists = (selector: string): boolean => Boolean(document.querySelector(selector));
7
0 commit comments