Hi as you can see here this code works perfect. But in VSC it turns me an error when I am calling the 63 line as in vsc it says that I have to pass to all the args params a SubscriptionMessage and not in the first param a SubscriptionMessage and in the second a Subscription. In the playground all is correct but in vsc shows me an error. I am running the last version of typescript.
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.