refactor(packages)!: replace DelegateMixin & ProxyMixin with MediaHost base classes (#1292)

This commit is contained in:
Wesley Luyten
2026-04-14 00:18:11 -05:00
committed by GitHub
parent f609373cd7
commit 8f1653efcd
91 changed files with 2840 additions and 1816 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ export function pick<T extends Record<string, unknown>, K extends keyof T>(obj:
const result = {} as Pick<T, K>;
for (const key of keys) {
result[key] = obj[key];
if (Object.hasOwn(obj, key)) {
result[key] = obj[key];
}
}
return result;