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) 297 B
import { FontStyleValue } from '../types'; /** * Parse a CSS font-style property string */ export declare function parse(value: string): FontStyleValue | null; /** * Convert FontStyleValue back to CSS string */ export declare function toCSSValue(parsed: FontStyleValue | null): string | null;