webcomponents / polyfills

Web Components Polyfills
BSD 3-Clause "New" or "Revised" License
1.13k stars 165 forks source link

[scoped-custom-element-registry] Port to TypeScript #561

Closed justinfagnani closed 1 month ago

justinfagnani commented 10 months ago

Fixes https://github.com/webcomponents/polyfills/issues/419

For ease of review and checking that the output was reasonably close to the previous Closure output, I made a first commit that is almost only type-changes. I manually diffed the output and it's most variable rename differences, and very close in byte size. Then I added a commit which cleans up some of the list and type checker warnings I disabled in the first. Further cleanups can happen later.