Cache simplified indexed accesses to better handle circularly constrained indexed acceses (#24072)

This commit is contained in:
Wesley Wigham
2018-05-14 12:54:26 -07:00
committed by GitHub
parent 7e3af08a09
commit ba4bf21ead
8 changed files with 53 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
type Loop<T, U extends Loop<T, U>> = {
[P in keyof T]: U[P] extends boolean ? number : string;
};