Skip to content

Commit ac707ff

Browse files
Ignore any in useEffectEvent.ts
1 parent 334dbf5 commit ac707ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extensions/ql-vscode/src/view/common/SuggestBox/useEffectEvent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { useCallback, useInsertionEffect, useRef } from "react";
99
*
1010
* @param callback The callback to call when the event is triggered.
1111
*/
12+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1213
export function useEffectEvent<T extends (...args: any[]) => any>(callback: T) {
1314
const ref = useRef<T>(callback);
1415

0 commit comments

Comments
 (0)