@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
12 lines (11 loc) • 520 B
TypeScript
import { type Tree } from '@angular-devkit/schematics';
import { type TuiSchema } from '../../../../ng-add/schema';
/**
* Updates tsconfig.json to include necessary type definitions
* - Adds `@taiga-ui/tsconfig` to typeRoots
* - Adds `node` and `ng-dev-mode` to types array
*
* This ensures proper type checking and IntelliSense for Taiga UI components
* and prevents common TypeScript errors related to custom types and ngDevMode.
*/
export declare function updateTsConfig(tree: Tree, options: TuiSchema): void;