refactor(i18n): I18nPipe uses NgLocalization (#9313)
and some refactoring
This commit is contained in:
@ -120,7 +120,7 @@ export function isType(obj: any): boolean {
|
||||
return isFunction(obj);
|
||||
}
|
||||
|
||||
export function isStringMap(obj: any): boolean {
|
||||
export function isStringMap(obj: any): obj is Object {
|
||||
return typeof obj === 'object' && obj !== null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user