Unresolved variable template in LWC

Issue #1389 resolved
Scott Wells repo owner created an issue

Comments (1)

  1. Scott Wells reporter

    I'm unable to reproduce this. Looking at the implementation of LightningElement, it does include template:

         * Base class for the Lightning Web Component JavaScript class
        export class LightningElement extends HTMLElementTheGoodPart {
            readonly template: ShadowRootTheGoodPart;

    If you're still seeing this, please use File>Invalidate Caches/Restart to force the IDE to rebuild its JavaScript indices and let me know if that doesn't resolve it for you.

  2. Log in to comment