Skip to content

Commit 0b3148a

Browse files
roxanne-bakerwjhsf
andauthored
Update packages/@lwc/engine-core/src/framework/base-lightning-element.ts
Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
1 parent 31414f3 commit 0b3148a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@lwc/engine-core/src/framework/base-lightning-element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ function warnIfInvokedDuringConstruction(vm: VM, methodOrPropName: string) {
508508

509509
const internals = attachInternals(elm);
510510
if (vm.shadowMode === ShadowMode.Synthetic) {
511-
const handler = {
511+
const handler: ProxyHandler<ElementInternals> = {
512512
get(target: ElementInternals, prop: keyof ElementInternals) {
513513
if (prop === 'shadowRoot') {
514514
return vm.shadowRoot;

0 commit comments

Comments
 (0)