mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8aec8d3058
`globalThis` is now available on every runtime supported by Angular PR Close #50063
14 lines
486 B
TypeScript
14 lines
486 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
import {ɵ$localize as $localize, ɵLocalizeFn as LocalizeFn, ɵTranslateFn as TranslateFn} from '@angular/localize';
|
|
|
|
export {$localize, LocalizeFn, TranslateFn};
|
|
|
|
// Attach $localize to the global context, as a side-effect of this module.
|
|
(globalThis as any).$localize = $localize;
|