mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
set target to es2015
This commit is contained in:
@@ -73,7 +73,7 @@ export class MenuEffects {
|
|||||||
|
|
||||||
if (hasValue(data) && hasValue(data.menu) && hasValue(data.menu[menuID])) {
|
if (hasValue(data) && hasValue(data.menu) && hasValue(data.menu[menuID])) {
|
||||||
|
|
||||||
let menuSections: MenuSection[] | MenuSection = data.menu[menuID];
|
let menuSections: MenuSection[] = data.menu[menuID];
|
||||||
menuSections = this.resolveSubstitutions(menuSections, params);
|
menuSections = this.resolveSubstitutions(menuSections, params);
|
||||||
|
|
||||||
if (!last) {
|
if (!last) {
|
||||||
|
@@ -20,13 +20,15 @@
|
|||||||
"strictNullChecks": false,
|
"strictNullChecks": false,
|
||||||
"skipDefaultLibCheck": true,
|
"skipDefaultLibCheck": true,
|
||||||
"pretty": true,
|
"pretty": true,
|
||||||
"target": "es5",
|
"target": "es2015",
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"node_modules/@types",
|
"node_modules/@types",
|
||||||
"src/typings.d.ts"
|
"src/typings.d.ts"
|
||||||
],
|
],
|
||||||
"lib": [
|
"lib": [
|
||||||
"dom",
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"es5",
|
||||||
"es6",
|
"es6",
|
||||||
"es2015",
|
"es2015",
|
||||||
"es2016",
|
"es2016",
|
||||||
|
Reference in New Issue
Block a user