You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to DOM spec cancelBubble is a legacy alias of .stopPropagation(), and after exploring library code this issue happened because of where the property value came from, It is read from the property deprecated value from data.json (cancelBubble.__compact.status.deprecated) which is exported by @mdn/browser-compat-data v5.0.0, this value is read inside mapInterfaceLike function in src/build/bcd/mapper.ts
This issue has been resolved in @mdn/browser-compat-data starting from v5.1.9 inside
commit: 36ffef821fafb429430f0286009787505a3ff000
so I think it will be solved by only updating @mdn/browser-compat-data
lib Update Request
Missing / Incorrect Definition
According to DOM spec cancelBubble is a legacy alias of .stopPropagation(), and after exploring library code this issue happened because of where the property value came from, It is read from the property deprecated value from data.json (cancelBubble.__compact.status.deprecated) which is exported by @mdn/browser-compat-data v5.0.0, this value is read inside mapInterfaceLike function in src/build/bcd/mapper.ts
This issue has been resolved in @mdn/browser-compat-data starting from v5.1.9 inside
commit: 36ffef821fafb429430f0286009787505a3ff000
so I think it will be solved by only updating @mdn/browser-compat-data
Documentation Link
https://dom.spec.whatwg.org/#interface-event
Reference
microsoft/TypeScript#50517
The text was updated successfully, but these errors were encountered: