Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 7221651

Browse files
committed
chore: name anonymous function returned by createDelegateFor
1 parent 13f9b4e commit 7221651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function createDelegateFor<T = DOMReturnType>(
9797

9898
const convertRegExp = (regex: RegExp) => ({regex: regex.source, flags: regex.flags})
9999

100-
return async function (...args: any[]): Promise<T> {
100+
return async function delegate(...args: any[]): Promise<T> {
101101
// @ts-ignore
102102
const containerHandle: ElementHandle = contextFn ? contextFn.apply(this, args) : this
103103

0 commit comments

Comments
 (0)