import { window } from './facade/browser' ; export class Utils { public static reflow ( element ) { ( ( bs ) : void => bs ) ( element . offsetHeight ) ; } public static getStyles ( elem ) { let view = elem . ownerDocument . defaultView ; if ( ! view || ! view . opener ) { view = window ; } return view . getComputedStyle ( elem ) ; } }