Merge pull request #4077 from FinnStutzenstein/translate_extract_hotfix

ngx translate extract hotfix
This commit is contained in:
Finn Stutzenstein 2018-12-20 11:37:37 +01:00 committed by GitHub
commit 211a0b8ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -49,7 +49,6 @@
"@angular/cli": "^7.1.0",
"@angular/compiler-cli": "^7.1.1",
"@angular/language-service": "^7.1.1",
"@biesbjerg/ngx-translate-extract": "^2.3.4",
"@compodoc/compodoc": "^1.1.7",
"@types/jasmine": "^2.8.12",
"@types/jasminewd2": "^2.0.6",

View File

@ -1,4 +1,8 @@
import { _ } from '@biesbjerg/ngx-translate-extract';
// import { _ } from '@biesbjerg/ngx-translate-extract';
function _(key: string | string[]): string | string[] {
return key;
}
/**
* Add strings here that require translations but have never been declared