From b61e5c76dbf5e5e143d7d1a7f26173a1e2430b09 Mon Sep 17 00:00:00 2001
From: Alexander Rose <alexander.rose@weirdbyte.de>
Date: Sat, 14 Jan 2023 12:03:33 -0800
Subject: [PATCH] add default to ParamDefinition.Values type

---
 src/mol-util/param-definition.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mol-util/param-definition.ts b/src/mol-util/param-definition.ts
index f5d2eb0a3..89e2fff77 100644
--- a/src/mol-util/param-definition.ts
+++ b/src/mol-util/param-definition.ts
@@ -1,5 +1,5 @@
 /**
- * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
+ * Copyright (c) 2018-2023 mol* contributors, licensed under MIT, See LICENSE file for more info.
  *
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
  * @author David Sehnal <david.sehnal@gmail.com>
@@ -344,7 +344,7 @@ export namespace ParamDefinition {
         | ColorList | Group<any> | Mapped<any> | Converted<any, any> | Conditioned<any, any, any> | Script | ObjectList | ValueRef | DataRef
 
     export type Params = { [k: string]: Any }
-    export type Values<T extends Params> = { [k in keyof T]: T[k]['defaultValue'] }
+    export type Values<T extends Params = Params> = { [k in keyof T]: T[k]['defaultValue'] }
     /** This is required for params with optional values */
     export type ValuesFor<T extends For<any>> = Normalize<{ [k in keyof T]: T[k]['defaultValue'] }>
 
-- 
GitLab