UNPKG

@salsan/iscss

Version:

isCss is a Node.js package, return true if input is a valid Cascading Style Sheets

19 lines 500 B
export interface DeclarationsInterface { type: 'declaration'; property: 'content'; value: string; } export interface RuleInterface { type: 'font-face' | 'rule'; selectors: string[]; declarations: DeclarationsInterface[]; } export interface StylesheetInterface { rules: RuleInterface[]; parsingErrors: string[]; } export interface CssInterface { type: 'stylesheet'; stylesheet: StylesheetInterface; } //# sourceMappingURL=CssInterface.d.ts.map