From 2c3776c38ca025c5ee965dec10ccf1cdb6c02e2f Mon Sep 17 00:00:00 2001 From: Dan Imhoff Date: Wed, 13 Jan 2021 12:59:16 -0800 Subject: [PATCH] fix: add es2017 lib to tsconfig (#180) --- action-sheet/tsconfig.json | 2 +- app-launcher/tsconfig.json | 2 +- app/tsconfig.json | 2 +- browser/tsconfig.json | 2 +- camera/tsconfig.json | 2 +- clipboard/tsconfig.json | 2 +- device/tsconfig.json | 2 +- dialog/tsconfig.json | 2 +- filesystem/tsconfig.json | 2 +- geolocation/tsconfig.json | 2 +- haptics/tsconfig.json | 2 +- keyboard/tsconfig.json | 2 +- local-notifications/tsconfig.json | 2 +- motion/tsconfig.json | 2 +- network/tsconfig.json | 2 +- push-notifications/tsconfig.json | 2 +- screen-reader/tsconfig.json | 2 +- share/tsconfig.json | 2 +- splash-screen/tsconfig.json | 2 +- status-bar/tsconfig.json | 2 +- storage/tsconfig.json | 2 +- text-zoom/tsconfig.json | 2 +- toast/tsconfig.json | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/action-sheet/tsconfig.json b/action-sheet/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/action-sheet/tsconfig.json +++ b/action-sheet/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/app-launcher/tsconfig.json b/app-launcher/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/app-launcher/tsconfig.json +++ b/app-launcher/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/app/tsconfig.json b/app/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/browser/tsconfig.json b/browser/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/browser/tsconfig.json +++ b/browser/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/camera/tsconfig.json b/camera/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/camera/tsconfig.json +++ b/camera/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/clipboard/tsconfig.json b/clipboard/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/clipboard/tsconfig.json +++ b/clipboard/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/device/tsconfig.json b/device/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/device/tsconfig.json +++ b/device/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/dialog/tsconfig.json b/dialog/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/dialog/tsconfig.json +++ b/dialog/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/filesystem/tsconfig.json b/filesystem/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/filesystem/tsconfig.json +++ b/filesystem/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/geolocation/tsconfig.json b/geolocation/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/geolocation/tsconfig.json +++ b/geolocation/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/haptics/tsconfig.json b/haptics/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/haptics/tsconfig.json +++ b/haptics/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/keyboard/tsconfig.json b/keyboard/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/keyboard/tsconfig.json +++ b/keyboard/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/local-notifications/tsconfig.json b/local-notifications/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/local-notifications/tsconfig.json +++ b/local-notifications/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/motion/tsconfig.json b/motion/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/motion/tsconfig.json +++ b/motion/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/network/tsconfig.json b/network/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/network/tsconfig.json +++ b/network/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/push-notifications/tsconfig.json b/push-notifications/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/push-notifications/tsconfig.json +++ b/push-notifications/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/screen-reader/tsconfig.json b/screen-reader/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/screen-reader/tsconfig.json +++ b/screen-reader/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/share/tsconfig.json b/share/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/share/tsconfig.json +++ b/share/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/splash-screen/tsconfig.json b/splash-screen/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/splash-screen/tsconfig.json +++ b/splash-screen/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/status-bar/tsconfig.json b/status-bar/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/status-bar/tsconfig.json +++ b/status-bar/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/storage/tsconfig.json b/storage/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/storage/tsconfig.json +++ b/storage/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/text-zoom/tsconfig.json b/text-zoom/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/text-zoom/tsconfig.json +++ b/text-zoom/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, diff --git a/toast/tsconfig.json b/toast/tsconfig.json index 3bb999d96..85ae95d13 100644 --- a/toast/tsconfig.json +++ b/toast/tsconfig.json @@ -3,7 +3,7 @@ "allowUnreachableCode": false, "declaration": true, "esModuleInterop": true, - "lib": ["dom"], + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", "noFallthroughCasesInSwitch": true,