sass-true
Version:
Unit testing for Sass.
10 lines (9 loc) • 483 B
TypeScript
import type { CssAllNodesAST, CssCommentAST } from '@adobe/css-tools';
export declare const truthyValues: (item?: any) => boolean;
export declare const isCommentNode: (node: CssAllNodesAST) => node is CssCommentAST;
export declare const removeNewLines: (cssString: string) => string;
export declare const splitSelectorAndProperties: (blocks: string[]) => {
selector: string;
output: string;
}[];
export declare const cssStringToArrayOfRules: (cssString: string) => string[];