From: Alexander Ebert Date: Tue, 9 Aug 2022 13:03:56 +0000 (+0200) Subject: Split the TypeScript proejcts X-Git-Tag: 6.0.0_Alpha_1~1024^2~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ca2cedb805394e751182d73b7bdfe2dedf2bcd4;p=GitHub%2FWoltLab%2FWCF.git Split the TypeScript proejcts --- diff --git a/ts/WoltLabSuite/WebComponent/tsconfig.json b/ts/WoltLabSuite/WebComponent/tsconfig.json index a0ee454cac..682d29cfa4 100644 --- a/ts/WoltLabSuite/WebComponent/tsconfig.json +++ b/ts/WoltLabSuite/WebComponent/tsconfig.json @@ -7,6 +7,7 @@ "exclude": [], "compilerOptions": { "composite": false, - "module": "ES2020" + "module": "ES2020", + "strict": true } } diff --git a/tsconfig.json b/tsconfig.json index c73c71fc03..210bbec9dd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,11 +6,6 @@ "exclude": [ "ts/WoltLabSuite/WebComponent/*.ts" ], - "references": [ - { - "path": "ts/WoltLabSuite/WebComponent" - } - ], "compilerOptions": { "allowJs": true, "target": "es2019", diff --git a/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-brand.js b/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-brand.js index b2e2bafdcf..455e957092 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-brand.js +++ b/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-brand.js @@ -1,3 +1,4 @@ +"use strict"; (() => { const HeightMap = new Map([ [16, 14], diff --git a/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-icon.js b/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-icon.js index 3e13561b82..82e11bc684 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-icon.js +++ b/wcfsetup/install/files/js/WoltLabSuite/WebComponent/fa-icon.js @@ -1,3 +1,4 @@ +"use strict"; (() => { const HeightMap = new Map([ [16, 14],