1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Updating tsconfig #507

This commit is contained in:
Patrik J. Braun 2023-03-11 13:58:38 +01:00
parent 7653f2ce23
commit 6a0e06d6f1
4 changed files with 8 additions and 12 deletions

View File

@ -1,7 +1,7 @@
/*************************************************************************************************** /***************************************************************************************************
* Load `$localize` onto the global scope - used if i18n tags appear in Angular templates. * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
*/ */
import '@angular/localize/init'; import '@angular/localize/init';
/** /**
* This file includes polyfills needed by Angular and is loaded before the app. * This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file. * You can add your own extra polyfills to this file.

View File

@ -4,12 +4,8 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../../out-tsc/app", "outDir": "../../out-tsc/app",
"types": [], "types": [],
"target": "es2017", "target": "ES2022",
"module": "es2020", "module": "ES2022",
"lib": [
"es2018",
"dom"
]
}, },
"files": [ "files": [
"./main.ts", "./main.ts",

View File

@ -3,8 +3,8 @@
"extends": "../../tsconfig.json", "extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../out-tsc/spec", "outDir": "../../out-tsc/spec",
"target": "es2015", "target": "ES2022",
"module": "es2020", "module": "ES2022",
"types": [ "types": [
"jasmine" "jasmine"
] ]

View File

@ -13,11 +13,11 @@
"importHelpers": true, "importHelpers": true,
"target": "ES2022", "target": "ES2022",
"module": "CommonJS", "module": "CommonJS",
"useDefineForClassFields": false,
"lib": [ "lib": [
"es2020", "ES2022",
"dom" "dom"
], ]
"useDefineForClassFields": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false, "enableI18nLegacyMessageIdFormat": false,