4 ms·
That can be solved by setting a reasonable upper bound on how many types can be nested. In general, having a turing complete type system isn't a major issue, m
by amenghra 9y ago
That can be solved by setting a reasonable upper bound on how many types can be nested.
In general, having a turing complete type system isn't a major issue, many languages have that property.
- Gehinnn 9y agoThis is how the TypeScript team fixed this issue: https://github.com/Microsoft/TypeScript/pull/15011 https://github.com/Microsoft/TypeScript/pull/15011