UNPKG

@devlander/utils

Version:

Comprehensive JavaScript and TypeScript utilities for seamless development. Includes object manipulation, data validation, and more.

9 lines (8 loc) 365 B
/** * Checks if a CSS string contains valid style declarations. * * @param cssString - The CSS string to validate. * @param validProperties - An optional array of additional valid CSS properties. * @returns A boolean indicating whether the CSS string is valid. */ export declare const isValidStyle: (cssString: string, validProperties?: string[]) => boolean;