Closed samchon closed 1 year ago
Describe the bug When template literal type comes, ts-runtime-checks understands it as a class having many methods.
ts-runtime-checks
type Template = `${number}___${string}`;
Playground link https://googlefeud.github.io/ts-runtime-checks?code=FAehAIEkDsBcFMBOBDAxrAlgN3uADgDbICeA5ogPYCu0AJgITgDqiGC4G04x1i4qFWrmR1wAZ3i424UvFiZopcLBTQxeDAXi1wFLrAAWuLQDNY9YLGJ5cAFXgBbQsnYBecAAMAJAG9oVBwAjJABfAH0I3zEVTlIQjwBuYGATGnQMPXAsZAIMWhd4AAoqCUQALnAAQTFS2AAeeyciBAA+AEpwH2BwHvAwcABNXn5BeAA6CeAQ4CA
Expected behavior Hope to be fixed
Describe the bug When template literal type comes,
ts-runtime-checks
understands it as a class having many methods.Playground link https://googlefeud.github.io/ts-runtime-checks?code=FAehAIEkDsBcFMBOBDAxrAlgN3uADgDbICeA5ogPYCu0AJgITgDqiGC4G04x1i4qFWrmR1wAZ3i424UvFiZopcLBTQxeDAXi1wFLrAAWuLQDNY9YLGJ5cAFXgBbQsnYBecAAMAJAG9oVBwAjJABfAH0I3zEVTlIQjwBuYGATGnQMPXAsZAIMWhd4AAoqCUQALnAAQTFS2AAeeyciBAA+AEpwH2BwHvAwcABNXn5BeAA6CeAQ4CA
Expected behavior Hope to be fixed