We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 762fff1 commit 076d9adCopy full SHA for 076d9ad
tests/cases/conformance/types/keyof/keyofAndIndexedAccess2.ts
@@ -158,3 +158,12 @@ type Bar<T> = { [key: string]: { [K in keyof T]: [K] }[keyof T] };
158
type Baz<T, Q extends Foo<T>> = { [K in keyof Q]: T[Q[K]] };
159
160
type Qux<T, Q extends Bar<T>> = { [K in keyof Q]: T[Q[K]["0"]] };
161
+
162
+// Repro from #32038
163
164
+const actions = ['resizeTo', 'resizeBy'] as const;
165
+for (const action of actions) {
166
+ window[action] = (x, y) => {
167
+ window[action](x, y);
168
+ }
169
+}
0 commit comments