@tiny-css/compiler
Version:
The compiler for compiling & reducing the bundle size of tiny-css
12 lines (11 loc) • 396 B
TypeScript
/**
* @description Filters tiny-css classes by default. But can also filter any provided css
* classObj.
* @author KR Tirtho
* @param {string[]} classnames
* @param {object} [globalClassnames=tinyCssClasses]
* @return {*} {string[]}
*/
export declare function filterWithClassnames(classnames: string[], globalClassnames: {
[key: string]: string;
} | string[]): string[];