view-transitions-polyfill
Version:
A polyfill for the View Transitions API.
9 lines (8 loc) • 698 B
TypeScript
import * as csstree from 'css-tree';
export declare function isPseudoElementSelector(selector: csstree.CssNodeCommon): selector is csstree.PseudoElementSelector;
export declare function isRawNode(node: csstree.CssNodeCommon): node is csstree.Raw;
export declare function isDeclaration(node: csstree.CssNodeCommon): node is csstree.Declaration;
export declare function isIdentifier(node: csstree.CssNodeCommon): node is csstree.Identifier;
export declare function isValue(node: csstree.CssNodeCommon): node is csstree.Value;
export declare function isSelector(node: csstree.CssNodeCommon): node is csstree.Selector;
export declare function isRule(node: csstree.CssNodeCommon): node is csstree.Rule;