fix: custom override method removes support for asynchronous #672
This commit is contained in:
@@ -326,7 +326,3 @@ export function isObjectEqual(obj1: unknown, obj2: unknown): boolean {
|
||||
}
|
||||
return !obj1Keys.some(key => obj2[key] !== obj1[key])
|
||||
}
|
||||
|
||||
export function isPromiseFunction(fn: Function): boolean {
|
||||
return fn?.constructor?.name === 'AsyncFunction'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user