Yea, it throws an error in TypeScript. You have to define it that component to get rid of that error. I've read that article a few days before writing this post but they did not yet implement the API.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.