How do I use "window.Twitch.ext" in angular for using the Configuration Service?

It’s not working, I think the reason might be because ‘@types/twitch-ext’; is not a module.

Even just importing the package on runkit is giving Error: Cannot find module '@types/twitch-ext'.

I looked through the code of the package and they are missing an export statement.