isStale的判定

This commit is contained in:
Xu Chang 2024-12-20 12:29:27 +08:00
parent 49a621ffe8
commit 9120e71700
3 changed files with 3 additions and 3 deletions

View File

@ -251,7 +251,7 @@ class Node extends Feature {
return this.extraData[key];
}
isStale() {
return !!this.isStale;
return !!this.stale;
}
}
class EntityNode extends Node {

View File

@ -254,7 +254,7 @@ class Node extends Feature_1.Feature {
return this.extraData[key];
}
isStale() {
return !!this.isStale;
return !!this.stale;
}
}
class EntityNode extends Node {

View File

@ -325,7 +325,7 @@ abstract class Node<ED extends EntityDict & BaseEntityDict> extends Feature {
}
isStale() {
return !!this.isStale;
return !!this.stale;
}
abstract getParent(): Node<ED> | undefined;