Browse Source

fix(admin-ui): Lib es2019 so ts understands array.flat (#1728)

Martijn 3 years ago
parent
commit
83e2056215
2 changed files with 3 additions and 2 deletions
  1. 2 2
      packages/admin-ui/tsconfig.json
  2. 1 0
      packages/admin-ui/tsconfig.lib.json

+ 2 - 2
packages/admin-ui/tsconfig.json

@@ -21,7 +21,7 @@
       "./typings"
     ],
     "lib": [
-      "es2017",
+      "es2019",
       "dom",
       "esnext.asynciterable"
     ],
@@ -58,4 +58,4 @@
       ]
     }
   }
-}
+}

+ 1 - 0
packages/admin-ui/tsconfig.lib.json

@@ -8,6 +8,7 @@
     "inlineSources": true,
     "types": [],
     "lib": [
+      "es2019",
       "dom",
       "es2018"
     ]