Polymer / polymer

Our original Web Component library.
https://polymer-library.polymer-project.org/
BSD 3-Clause "New" or "Revised" License
22.04k stars 2.01k forks source link

Update Closure types for overridden setAttribute in LegacyElementMixin. #5652

Closed bicknellr closed 4 years ago

bicknellr commented 4 years ago

Closure and TypeScript have conflicting types for Element.prototype.setAttribute. The Closure types need to match because they're read directly from source, so this PR does that and just prevents TS types from being generated for this function.

cc #5651