Issues with @shopify/polaris-types

Yeah, those types are specifically designed for Preact / React which I find a bit of ironic since new Polaris is powered by web components and was supposed to be framework agnostic. I think it could be solved with Custom element manifest that I mentioned here: Feature request: Custom element manifest for Polaris web components