瀏覽代碼

Tooling: [API] Changed target in tsconfig to es6 (#2362)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Pankaj Patil 4 年之前
父節點
當前提交
97bc52ee03
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 5 0
      .changes/api-target-es2021.md
  2. 1 0
      tooling/api/tsconfig.json

+ 5 - 0
.changes/api-target-es2021.md

@@ -0,0 +1,5 @@
+---
+"api": patch
+---
+
+Change target to ES2021.

+ 1 - 0
tooling/api/tsconfig.json

@@ -2,6 +2,7 @@
   "compilerOptions": {
     "strict": true,
     "allowJs": true,
+    "target": "es2021",
     "esModuleInterop": true,
     "baseUrl": ".",
     "paths": {