summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/Update.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/lib/Update.ts')
-rw-r--r--frontend/src/lib/Update.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/lib/Update.ts b/frontend/src/lib/Update.ts
index 507dd52..13aec61 100644
--- a/frontend/src/lib/Update.ts
+++ b/frontend/src/lib/Update.ts
@@ -12,9 +12,7 @@ interface AssociationUpdate {
options?: UpdateOptions | null;
}
-type Input<T, K extends Key> = {
- [Property in K]?: T | null;
-};
+type Input<T, K extends Key> = Partial<Record<K, T | null>>;
abstract class Entry<K extends Key> {
key: K;