void) | boolean | 'default'
export type ConstructorRepresentation = new (...args: any[]) => any
-// eslint-disable-next-line ts/no-unsafe-function-type
+
export type NonFunctionKeys = { [K in keyof P]-?: P[K] extends Function ? never : K }[keyof P]
export type Overwrite
= Omit
> & O
export type Properties = Pick>
diff --git a/src/utils/createPriorityEventHook.test.ts b/src/utils/createPriorityEventHook.test.ts
index 79444594d..d7be2d2f4 100644
--- a/src/utils/createPriorityEventHook.test.ts
+++ b/src/utils/createPriorityEventHook.test.ts
@@ -1,4 +1,3 @@
-/* eslint-disable unicorn/consistent-function-scoping */
import { createPriorityEventHook } from './createPriorityEventHook'
let updateHook = createPriorityEventHook()
diff --git a/src/utils/index.ts b/src/utils/index.ts
index 5ab5bdbe3..f5ac470f9 100644
--- a/src/utils/index.ts
+++ b/src/utils/index.ts
@@ -451,7 +451,7 @@ export function invalidateInstance(instance: TresObject) {
}
export function noop(fn: string): any {
- // eslint-disable-next-line ts/no-unused-expressions
+ // eslint-disable-next-line no-unused-expressions
fn
}
diff --git a/src/utils/is.ts b/src/utils/is.ts
index 639377767..551844a02 100644
--- a/src/utils/is.ts
+++ b/src/utils/is.ts
@@ -21,7 +21,6 @@ export function bool(u: unknown): u is boolean {
return u === true || u === false
}
-// eslint-disable-next-line ts/no-unsafe-function-type
export function fun(u: unknown): u is Function {
return typeof u === 'function'
}