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.
*/
import '@angular/localize/init';
import '@angular/localize/init';
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.

View File

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

View File

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

View File

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