using TypeScript:

```
public subscribe:(subscribeFunction:(state)=>void)=>()=>void;

```

It's a subscribe method that gets function as an argument, of type function, and that function given, will receive a state argument when called, that argumented function will not return anything (i.e.: void) ... and I am lost on the last `()=>()=>void`.

Do I understand this right?