For the first two examples, there's some unfamiliar syntax because they added Flow[1] typings to the examples (not TypeScript as other comments are suggesting).
What about the syntax do you find confusing? The rest is all just ES6 + class properties.