UNPKG

sass-true

Version:

Unit testing for Sass.

12 lines (11 loc) 549 B
import { type ChildNode, type Comment } from 'postcss'; import { type Rule } from '.'; export declare const truthyValues: (item?: any) => boolean; export declare const isCommentNode: (node: ChildNode) => node is Comment; export declare const removeNewLines: (cssString: string) => string; export declare const splitSelectorAndProperties: (blocks: string[]) => { selector: string; output: string; }[]; export declare const cssStringToArrayOfRules: (cssString: string) => string[]; export declare const generateCss: (rules: Rule[]) => string;