Open elasim opened 1 year ago
Id be interested to learn more about the usecase, could you explain the usecase itself more in detail?
found this bug with the codebase I'm working on. Unfortunately, I can't upload the code due to license issues, and can't think of any particular use cases to share at the moment. Sorry about that. 🙄
+Maybe a mixin? sort of.
Playground issue
Reproduction URL: https://custom-elements-manifest.netlify.app/?source=CmNsYXNzIE15RWxlbWVudCBleHRlbmRzIGZ1bmNXaXRoTm9BcmcoKSB7CiAgc3RhdGljIGdldCBvYnNlcnZlZEF0dHJpYnV0ZXMoKSB7CiAgICByZXR1cm4gWydkaXNhYmxlZCddOwogIH0KCiAgc2V0IGRpc2FibGVkKHZhbCkgewogICAgdGhpcy5fX2Rpc2FibGVkID0gdmFsOwogIH0KICBnZXQgZGlzYWJsZWQoKSB7CiAgICByZXR1cm4gdGhpcy5fX2Rpc2FibGVkOwogIH0KCiAgZmlyZSgpIHsKICAgIHRoaXMuZGlzcGF0Y2hFdmVudChuZXcgRXZlbnQoJ2Rpc2FibGVkLWNoYW5nZWQnKSk7CiAgfQp9CgpjdXN0b21FbGVtZW50cy5kZWZpbmUoJ215LWVsZW1lbnQnLCBNeUVsZW1lbnQpOwo%3D&library=null
Additional information:
Please enter additional information here.