Skip to content

Fix amp-date-picker closure compiler warnings#23806

Merged
cvializ merged 1 commit intoampproject:masterfrom
cvializ:fix/adp-types
Aug 8, 2019
Merged

Fix amp-date-picker closure compiler warnings#23806
cvializ merged 1 commit intoampproject:masterfrom
cvializ:fix/adp-types

Conversation

@cvializ
Copy link
Copy Markdown
Contributor

@cvializ cvializ commented Aug 7, 2019

Fixes #23429

It turns out the solution was to make Closure Compiler stop checking the extends and to use ES5 class syntax with manual prototype chaining. Not ideal, but at least it's an established pattern that works.

@cvializ cvializ requested review from rsimha and sparhami August 7, 2019 23:39
Copy link
Copy Markdown
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@cvializ cvializ merged commit 1091059 into ampproject:master Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix React.Component type errors in amp-date-picker and remove suppressions

4 participants