@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
9 lines (8 loc) • 521 B
TypeScript
import { type JsonArray } from '@angular-devkit/core';
import { type Rule, type SchematicContext, type Tree } from '@angular-devkit/schematics';
import { type TuiSchema } from '../ng-add/schema';
export declare function isInvalidAngularJson(tree: Tree): Promise<boolean>;
export declare function addStylesToAngularJson(options: TuiSchema, context: SchematicContext, taigaStyles: string[], filter?: (styles: JsonArray | undefined) => boolean, stylesToReplace?: {
from: string;
to: string[];
}, tree?: Tree): Rule;