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
{{ message }}
Repository navigation
Using decorators together with ClientRect type fails on Chrome v61. #18615
changed the title [-]Using decorators together with `ClientRect` fails on Chrome v61.[/-][+]Using decorators together with `ClientRect` type fails on Chrome v61.[/+]on Sep 20, 2017
TypeScript Version: 2.5.2
Code
The transpiled output contains the following code:
Expected behavior:
Runs without error on Chrome v61+.
Actual behavior:
Running the above code in Chrome v61 fails with the error:
Uncaught ReferenceError: ClientRect is not defined.This is due to two related issues:
ClientRectwithDOMRect: https://groups.google.com/a/chromium.org/forum/#!msg/blink-reviews/vxvUqqj2Gnw/4sbTv97SBgAJlib.d.tshasn't been updated to reflect the above change. Inconsistents with ClientRect definition #11085