From ca39a5b453669124b13397e85f3b2b8f8a1d03ee Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Tue, 31 Mar 2020 08:24:41 +0200 Subject: [PATCH] enable es2019 lib for all typescript modules --- scm-ui/tsconfig/tsconfig.json | 6 +++++- scm-ui/ui-components/tsconfig.json | 8 +------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/scm-ui/tsconfig/tsconfig.json b/scm-ui/tsconfig/tsconfig.json index a2450080eb..1c3acc4351 100644 --- a/scm-ui/tsconfig/tsconfig.json +++ b/scm-ui/tsconfig/tsconfig.json @@ -59,6 +59,10 @@ /* Experimental Options */ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ - "skipLibCheck": true + "skipLibCheck": true, + "lib": [ + "dom", + "es2019" + ] } } diff --git a/scm-ui/ui-components/tsconfig.json b/scm-ui/ui-components/tsconfig.json index 450dc158b8..7e3ee63a2d 100644 --- a/scm-ui/ui-components/tsconfig.json +++ b/scm-ui/ui-components/tsconfig.json @@ -1,9 +1,3 @@ { - "extends": "@scm-manager/tsconfig", - "compilerOptions": { - "lib": [ - "es2019", - "dom" - ] - } + "extends": "@scm-manager/tsconfig" }