@taiga-ui/core
Version:
Core library for creating Angular components and applications using Taiga UI
15 lines (14 loc) • 681 B
TypeScript
import { type PipeTransform } from '@angular/core';
import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
import * as i0 from "@angular/core";
type IsoCode = TuiLooseUnion<TuiCountryIsoCode>;
export declare class TuiFlagPipe implements PipeTransform {
private readonly staticPath;
transform(countryIsoCode: IsoCode): string;
transform(countryIsoCode: IsoCode | undefined): string | null;
transform(countryIsoCode?: IsoCode | null): string | null;
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlagPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<TuiFlagPipe, "tuiFlag", true>;
}
export {};