Hacker News new | ask | show | jobs
by me_vinayakakv 698 days ago
Funnily, I had a backend function that used `window`, which was then sent to frontend in this way. I think the project's tsconfig `lib` included `dom` for it to work.

Overall a nice technique!