]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.types.ts
import 15.2.0 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / config-option / config-option.types.ts
index cfe1b4747f340ad0913e1e72d91825ade87ff5a0..eb1bce5748d221500387a67a6e05194d723d028a 100644 (file)
@@ -89,7 +89,10 @@ export class ConfigOptionTypes {
       return;
     }
 
-    const typeValidators = { validators: [], patternHelpText: typeParams.patternHelpText };
+    const typeValidators: Record<string, any> = {
+      validators: [],
+      patternHelpText: typeParams.patternHelpText
+    };
 
     if (typeParams.isNumberType) {
       if (configOption.max && configOption.max !== '') {