Browse Source

types - fix tsc 3.8.* incompatibility

Leszek Wiesner 3 years ago
parent
commit
84c256e5d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      types/augment/all/definitions.ts

+ 1 - 1
types/augment/all/definitions.ts

@@ -15,7 +15,7 @@ Object.entries(defs).forEach(([typeName, typeDef]) => {
       if ((emptyStruct as any)[key] !== undefined) {
         return
       }
-      normalizedDef[key] = value
+      normalizedDef[key] = value as string
     })
     normalizedDefs[typeName] = normalizedDef;
   }