Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is epic. There’s a parser in there.

Edit: this is explained a bit here [1]. It uses Template Literal Types[2].

1 https://blog.joshuakgoldberg.com/type-system-game-engines/

2 https://www.typescriptlang.org/docs/handbook/2/template-lite...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: