|
|
|
|
|
by avianlyric
702 days ago
|
|
Erm, you do know that a founding principle of TS, is that the “compile” step is literally just stripping out the type annotations. You could implement it with a Regex if you really wanted to. The only place this rule is broken, is TS Enums, and that generally considered to have been a mistake, but one that too old to rectify. |
|
Why is that?