Add global I18n notation while we're external

pull/6376/head
Oliver Günther 6 years ago
parent 667c929b50
commit b506e804f9
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 1
      frontend/angular.json
  2. 2
      frontend/legacy/typings/open-project-legacy.typings.d.ts

@ -13,6 +13,7 @@
"builder": "@angular-devkit/build-angular:browser",
"options": {
"preserveSymlinks": true,
"aot": true,
"outputPath": "../public/assets/frontend/",
"index": "src/index2.html",
"main": "src/main.ts",

@ -34,6 +34,7 @@
import * as TAngular from 'angular';
import * as TLodash from 'lodash';
import {State} from "reactivestates";
import {GlobalI18n} from "../../src/app/modules/common/i18n/i18n.service";
export interface IPluginContext {
classes:any;
@ -52,4 +53,5 @@ declare global {
}
const angular:typeof TAngular;
const _:typeof TLodash;
const I18n:GlobalI18n;
}

Loading…
Cancel
Save