mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-30 10:42:09 +08:00
refactor: improve code readability and consistency in proxy-chain and uri-parser utilities
refactor: add keys to icons in routers for improved rendering and performance refactor: optimize RegExp polyfill by using Object.prototype.hasOwnProperty.call refactor: reorder imports in chain-proxy-provider for consistency refactor: remove unused "obfs-opts" property from IProxySnellConfig interface refactor: reorganize imports and enhance refresh logic in app data provider refactor: re-enable prop-types linting for better type safety in BaseDialog component refactor: update dependencies in effect hooks for improved stability and performance
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export default function isAsyncFunction(fn: Function): boolean {
|
||||
export default function isAsyncFunction(fn: (...args: any[]) => any): boolean {
|
||||
return fn.constructor.name === "AsyncFunction";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user