UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

10 lines (9 loc) 292 B
import { FontSizeValue } from '../types'; /** * Parse a CSS font-size property string */ export declare function parse(value: string): FontSizeValue | null; /** * Convert FontSizeValue back to CSS string */ export declare function toCSSValue(parsed: FontSizeValue | null): string | null;