Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow legacy element property definitions with only a type. Fixes #5173 #5174

Merged
merged 1 commit into from
Apr 3, 2018

Conversation

jlaamanen
Copy link
Contributor

Allow legacy element properties also be of type Function for shorthand definitions.

Reference Issue

Fixes #5173

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

LGTM. This does bring up a broader question on how we can add a "regression test" to prevent us from regressing in this particular case. We probably need to create a separate test folder with TypeScript files that must compile for the build to succeed. However, this is not an issue for this PR, we should discuss that in a separate issue.

@TimvdLippe TimvdLippe merged commit 53dd08d into Polymer:master Apr 3, 2018
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.

3 participants