UNPKG

ngx-unused-css

Version:
14 lines (13 loc) 523 B
import { Config } from '../config'; declare type UnusedClasses = string[]; export declare type UnusedClassesMap = [UnusedClasses, string]; /** * Returns array of classes/attributes not used in html * * @param cssPath - styling file path * @param htmlContent - html content to analyse * @param htmlPath - html file path * @returns Promise<([string[], string])> */ export default function unusedClassMapper(cssPath: string, htmlContent: string, htmlPath: string, config: Config): Promise<UnusedClassesMap>; export {};