"Try it yourself" example of d.ts declaration usage doesn't work.
https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html

I don't know how to fix it as I'm trying to learn but the docs aren't clear. It doesn't work for me, and the example running on the site doesn't either.