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

Does not work with TypeScript v3 #80

Closed
hen42 opened this issue Oct 28, 2018 · 2 comments
Closed

Does not work with TypeScript v3 #80

hen42 opened this issue Oct 28, 2018 · 2 comments

Comments

@hen42
Copy link

hen42 commented Oct 28, 2018

Hi Guys,

the types in demo-snippet.d.ts are incompatible with TypeScript vesion 3-

package.jon:
@polymer/iron-demo-helpers": "^3.0.2",
"typescript": "^3.1.3",

Output from TypeScript:

/node_modules/@polymer/iron-demo-helpers/demo-snippet.d.ts(51,11): error TS2320: Interface 'DemoSnippetElement'cannot simultaneously extend types 'LegacyElementMixin' and 'HTMLElement'.

Named property 'toggleAttribute' of types 'LegacyElementMixin' and 'HTMLElement' are not identical.

Best Regards

@ffendt
Copy link

ffendt commented Mar 27, 2019

Hi @hen42,

better late than never: using polymer "^3.2.0" will fix this issue, see polymer Issue 5372.

Regards

@hen42
Copy link
Author

hen42 commented Mar 28, 2019

Thanks. :)

@hen42 hen42 closed this as completed Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants