i do not understand typescript, i need help

comments

after defining a new variable you need to put a colon (:) and then the type

classes:

class MyThingy {
  …
}

everything:

<Window window>