With numerous web components stored in individual repositories, I am seeking a way to share a single instance of lit-element/lit-html across all of them in order to optimize bundle size. Rather than having a separate instance in each bundle.
To achieve this, I created a Webpack UMD library of lit-element (transpiled to ES5 for IE11) and included a script tag pointing to my lit-element library in the main application HEAD, marked as an external in Webpack configuration.
However, this approach worked flawlessly until I introduced TypeScript into the mix and encountered some typing issues.
My question is: Is there an official typings file available for lit-element that can be installed independently? Despite my efforts, I have been unable to locate one.