mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +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])) {
|
||||
|
||||
let menuSections: MenuSection[] | MenuSection = data.menu[menuID];
|
||||
let menuSections: MenuSection[] = data.menu[menuID];
|
||||
menuSections = this.resolveSubstitutions(menuSections, params);
|
||||
|
||||
if (!last) {
|
||||
|
@@ -20,13 +20,15 @@
|
||||
"strictNullChecks": false,
|
||||
"skipDefaultLibCheck": true,
|
||||
"pretty": true,
|
||||
"target": "es5",
|
||||
"target": "es2015",
|
||||
"typeRoots": [
|
||||
"node_modules/@types",
|
||||
"src/typings.d.ts"
|
||||
],
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"es5",
|
||||
"es6",
|
||||
"es2015",
|
||||
"es2016",
|
||||
|
Reference in New Issue
Block a user