Skip to content

Commit

Permalink
Update packages/@lwc/engine-core/src/framework/mutation-logger.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
  • Loading branch information
nolanlawson and wjhsf committed Sep 11, 2024
1 parent 98744dd commit ca87b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@lwc/engine-core/src/framework/mutation-logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function associateReactiveObserverWithVM(reactiveObserver: ReactiveObserv
* @param key - key associated with the object in the component
* @param target - tracked target object
*/
export function trackTargetForMutationLogging(key: PropertyKey, target: object) {
export function trackTargetForMutationLogging(key: PropertyKey, target: any) {
assertNotProd();
if (isObject(target) && !isNull(target)) {
// only track non-primitives; others are invalid as WeakMap keys
Expand Down

0 comments on commit ca87b40

Please sign in to comment.