Skip to content

Commit 586318e

Browse files
committed
chore: add optional
1 parent 3f687cd commit 586318e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@lwc/shared/src/signals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export function addTrustedSignal(signal: object) {
1919
}
2020

2121
export function isTrustedSignal(target: object): boolean {
22-
return trustedSignals.has(target);
22+
return trustedSignals?.has(target);
2323
}

0 commit comments

Comments
 (0)