Some of the object properties or functions are not available in the Typescript Window type. Let see a way to extend the Window type with the missing properties.