mirror of
https://github.com/bitwarden/browser
synced 2026-01-31 08:43:54 +00:00
Extract core functionality from `libs/angular` to allow teams to depend on `libs/ui-common` instead. Moves the following functionality to `ui-common`. - `I18nPipe`. `libs/angular` still has an old copy but `components` depends on the new variant from `ui-common`. - `safeProvider`, `SafeProvider` and `SafeInjectionToken`. `libs/angular`re-exports these to avoid needing to update all consumers.
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
import { CommonModule } from "@angular/common";
|
|
import { NgModule } from "@angular/core";
|
|
|
|
import { I18nPipe } from "@bitwarden/ui-common";
|
|
|
|
@NgModule({
|
|
imports: [CommonModule, I18nPipe],
|
|
exports: [CommonModule, I18nPipe],
|
|
})
|
|
export class SharedModule {}
|