@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
19 lines (18 loc) • 486 B
TypeScript
import { type Tree } from '@angular-devkit/schematics';
import { type TuiSchema } from '../../../ng-add/schema';
/**
* Migrates i18n language providers from of(TUI_*_LANGUAGE) to signal(TUI_*_LANGUAGE).
*
* Before:
* {
* provide: TUI_LANGUAGE,
* useValue: of(TUI_ENGLISH_LANGUAGE),
* }
*
* After:
* {
* provide: TUI_LANGUAGE,
* useValue: signal(TUI_ENGLISH_LANGUAGE),
* }
*/
export declare function migrateI18nLanguageSignal(tree: Tree, options: TuiSchema): void;