unnestcss
Version:
Parse nested css
14 lines • 450 B
TypeScript
import type { Rule, AtRule, Comment, Declaration } from "postcss";
export declare const isRule: <T extends Rule>(n: {
type: string;
}) => n is T;
export declare const isAtRule: <T extends AtRule>(n: {
type: string;
}) => n is T;
export declare const isDecl: <T extends Declaration>(n: {
type: string;
}) => n is T;
export declare const isComment: <T extends Comment>(n: {
type: string;
}) => n is T;
//# sourceMappingURL=help.d.ts.map