Javascript Typescript Cannot Find Name Window Or Document Youtube

Javascript Typescript Cannot Find Name Window Or Document Youtube