UNPKG

@taiga-ui/cdk

Version:

Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance

20 lines (19 loc) 913 B
import { TuiLetContext } from './let-context'; import * as i0 from "@angular/core"; /** * Works like *ngIf but does not have a condition — use it to declare * the result of pipes calculation (i.e. async pipe) */ export declare class TuiLet<T> { tuiLet: T; constructor(); /** * Asserts the correct type of the context for the template that `TuiLet` will render. * * The presence of this method is a signal to the Ivy template type-check compiler that the * `TuiLet` structural directive renders its template with a specific context type. */ static ngTemplateContextGuard<T>(_dir: TuiLet<T>, _ctx: unknown): _ctx is TuiLetContext<T>; static ɵfac: i0.ɵɵFactoryDeclaration<TuiLet<any>, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLet<any>, "[tuiLet]", never, { "tuiLet": { "alias": "tuiLet"; "required": false; }; }, {}, never, never, true, never>; }