Skip to content

Commit

Permalink
refactor: change isValidLink to a private function
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Dec 25, 2024
1 parent 8e04394 commit e2c4896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export function shallowPropagate(link: Link): void {
} while (link !== undefined);
}

export function isValidLink(subLink: Link, sub: Subscriber): boolean {
function isValidLink(subLink: Link, sub: Subscriber): boolean {
const depsTail = sub.depsTail;
if (depsTail !== undefined) {
let link = sub.deps!;
Expand Down

0 comments on commit e2c4896

Please sign in to comment.