gentics-ui-core
Version:
This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.
23 lines (22 loc) • 759 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class MatchesMimeTypePipe implements PipeTransform {
transform(input: string, allowedMimeTypes: string): boolean;
transform(input: {
type: string;
}[], allowedMimeTypes: string): {
type: string;
}[];
transform(input: {
type: string;
}[], mode: 'all' | 'any', allowedMimeTypes: string): {
type: string;
}[];
transform(input: {
type: string;
}[], allowedMimeTypes: string, mode: 'all' | 'any'): {
type: string;
}[];
static ɵfac: i0.ɵɵFactoryDeclaration<MatchesMimeTypePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<MatchesMimeTypePipe, "matchesMimeType">;
}