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...
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...