chore: adjust type

This commit is contained in:
GyDi
2022-11-19 17:22:29 +08:00
parent a4c985a219
commit 5fb1afc681
26 changed files with 274 additions and 283 deletions

View File

@@ -56,7 +56,7 @@ class DelayManager {
}
/// 暂时修复provider的节点延迟排序的问题
getDelayFix(proxy: ApiType.ProxyItem, group: string) {
getDelayFix(proxy: IProxyItem, group: string) {
if (!proxy.provider) return this.getDelay(proxy.name, group);
if (proxy.history.length > 0) {