TypeScript 4.1 template literal types

preview_player
Показать описание


Follow us on Twitter:
Рекомендации по теме
Комментарии
Автор

How powerful are the computations that you can perform in the type literals? Is it just string comparison?

hyperrealhank
Автор

Hello,
with this new features is it possible to type template literals used in a array index?
something like this:

zunetrix