Re:TypeScripts Type System Is Turing Complete
by Gehinnn on Wednesday August 02, 2017 @05:05AM
(#14909034)
The properties that enable TS' type system to be turing complete are recursive types and indexer types.
Indexer types allow you to write `{ foo: string }["foo"]` which results in the type `string`.
[ Parent
| on HN ]
There are no comments on this comment yet.