@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
24 lines (23 loc) • 905 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export interface FormatPipeLink {
text: string;
href: string;
target?: string;
}
export declare type FormatPipeValue = string | FormatPipeLink;
/**
* @smeDoc {@label FormatPipe @id smeFormat}
*
* @overview
* @file {@filepath ./examples/format-overview.md}
*
* @example {@label Example enum Converter @id format-example }
* @file {@filename component.html @filepath ./examples/format-example.component.html}
* @file {@filename component.ts @filepath ./examples/format-example.component.ts}
*/
export declare class FormatPipe implements PipeTransform {
transform(format: string, values?: FormatPipeValue | FormatPipeValue[]): string;
static ɵfac: i0.ɵɵFactoryDeclaration<FormatPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FormatPipe, "smeFormat", false>;
}