-
Notifications
You must be signed in to change notification settings - Fork 421
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
Google Feedback on 4.4 Beta #1067
Comments
Thank you 😊 In the meanwhile we've found two more types which we missed to added to |
It's my fault 😬, will fix it.
Those are Chrome-only things, while
The current type is "correct", but since
It's a mixin interface implemented by some Node interfaces. The correct way to receive Nodes that can be children is |
Fixes the first issue raised in microsoft#1067.
Fixes the first issue raised in #1067.
Thank you @saschanaz and @DanielRosenwasser for the help. We've checked TS4.4-rc and I've seen much reduced breakages, and most of the remaining breakages it seems that we can fix it via DefinitelyTyped, or the use should be removed as it's vendor specific or deprecated. Though we still see some failures with respect to removed types which are things below :
as @saschanaz mentioned that For the RTCError, I am uncertain if it was intentional, but from this commit it seems the use of RTCErrorEvent seems to be commented out intentionally? |
No immediate plan, you are free to do that.
RTCError and RTCErrorEvent are excluded as they are also currently Chrome only. Maybe @types/webrtc should include them instead? |
Great, now all makes sense. Thank you for your help!! |
Looking at
The MDN docs for ShadowRoot specifically calls these out as being red/not available in their docs, which I assume means that they have been removed in a spec, and/or browsers : https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot#methods |
Seems that |
The red links are tooltipped as
The browser support matrix for |
This used to be declared in the Shadow DOM spec, but there's apparently some ongoing(?) work related to migrating that spec to other specs. See my related comment here: WICG/webcomponents#661 (comment) It's weird to me that those are not anymore shown in any live spec to be part of DocumentOrShadowRoot, but to me that looks like an accident also. I'm pretty sure they were not intentionally being dropped from specs. |
Opening on the behalf of @h-joo from microsoft/TypeScript#45047:
The text was updated successfully, but these errors were encountered: