angular-l10n
Version:
An Angular library to translate messages, dates and numbers
44 lines • 1.42 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
*/
import { NgModule } from '@angular/core';
import { LocaleValidation } from '../services/locale-validation';
import { L10nNumberValidatorDirective } from '../directives/l10n-number-validator.directive';
/**
* Provides dependencies & directives for validation by locales.
*/
var LocaleValidationModule = /** @class */ (function () {
function LocaleValidationModule() {
}
/**
* Use in AppModule: new instance of LocaleValidation.
*/
/**
* Use in AppModule: new instance of LocaleValidation.
* @return {?}
*/
LocaleValidationModule.forRoot = /**
* Use in AppModule: new instance of LocaleValidation.
* @return {?}
*/
function () {
return {
ngModule: LocaleValidationModule,
providers: [LocaleValidation]
};
};
LocaleValidationModule.decorators = [
{ type: NgModule, args: [{
declarations: [
L10nNumberValidatorDirective
],
exports: [
L10nNumberValidatorDirective
]
},] }
];
return LocaleValidationModule;
}());
export { LocaleValidationModule };
//# sourceMappingURL=locale-validation.module.js.map