UNPKG

816 BJavaScriptView Raw
1import { Injectable } from "@angular/core";
2var MissingTranslationHandler = (function () {
3 function MissingTranslationHandler() {
4 }
5 return MissingTranslationHandler;
6}());
7export { MissingTranslationHandler };
8/**
9 * This handler is just a placeholder that does nothing, in case you don't need a missing translation handler at all
10 */
11var FakeMissingTranslationHandler = (function () {
12 function FakeMissingTranslationHandler() {
13 }
14 FakeMissingTranslationHandler.prototype.handle = function (params) {
15 return params.key;
16 };
17 return FakeMissingTranslationHandler;
18}());
19export { FakeMissingTranslationHandler };
20FakeMissingTranslationHandler.decorators = [
21 { type: Injectable },
22];
23/** @nocollapse */
24FakeMissingTranslationHandler.ctorParameters = function () { return []; };