-
Notifications
You must be signed in to change notification settings - Fork 199
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
Polymer 2.0 issues #892
Comments
Quite a few methods end up with a return type of We should probably add Also, a nice thing to have would be to make use of the Great work so far, looking good 👍 |
@aomarks just noticed what seems like a rather clear problem while trying the generated types out... It seems the generator didn't figure out that |
Typings are in Polymer master as of Polymer/polymer#4928. Closing this issue. The remaining items can be tracked at the issues below:
Tracking at Polymer/polymer#5010. These methods are forwarded with a utility function that means Analyzer does not detect them.
Tracking at https://github.com/Polymer/polymer-analyzer/issues/752. Top-level function assignments are not picked up by Analyzer, even if they have a
Tracking at https://github.com/Polymer/polymer-analyzer/issues/645. Analyzer needs support for scanning getters. |
The following are the remaining TypeScript issues with the Polymer 2.0 core library.
Missing APIs:
Polymer()
legacy registration functionPolymer.ArraySplice.calculateSplices
Polymer.Async.animationFrame.run
Polymer.DomApi
(https://github.com/Polymer/polymer/blob/master/lib/legacy/polymer.dom.html#L234).Polymer.dom.flush
(https://github.com/Polymer/polymer/blob/master/lib/legacy/polymer.dom.html#L330)Polymer.dom.addDebouncer
(https://github.com/Polymer/polymer/blob/master/lib/legacy/polymer.dom.html#L340)EventApi
(https://github.com/Polymer/polymer/blob/master/lib/legacy/polymer.dom.html#L256).Things we shouldn't emit:
Missing types:
'StampedTemplate'.
Other:
Polymer.Element
does not inheritPropertyEffects
mixin, soset()
etc. are missing.@appliesMixin
annotation.@summary
annotation but no main description (e.g. thePolymer.ArraySplice
namespace). What do we do with@summary
vs description?types
directory, if that's what we decide.!
s on their @params which they should have (e.g.calculateSplices
), so they come out as|null
.The text was updated successfully, but these errors were encountered: