diff --git a/polygerrit-ui/app/elements/gr-app-init.ts b/polygerrit-ui/app/elements/gr-app-init.ts index 6d79ce10c0..ab38326ded 100644 --- a/polygerrit-ui/app/elements/gr-app-init.ts +++ b/polygerrit-ui/app/elements/gr-app-init.ts @@ -22,17 +22,6 @@ import { } from '../services/gr-reporting/gr-reporting_impl'; import {appContext} from '../services/app-context'; -interface UninitializedPolymer { - lazyRegister: boolean; -} - -if (!window.Polymer) { - // Without as... it violates internal google rules. - ((window.Polymer as unknown) as UninitializedPolymer) = { - lazyRegister: true, - }; -} - initAppContext(); initVisibilityReporter(appContext); initPerformanceReporter(appContext);