postcss-calc
Version:
PostCSS plugin to reduce calc()
12 lines (11 loc) • 423 B
TypeScript
export type Node = import('../node.js').Node;
/** @typedef {import('../node.js').Node} Node */
declare const ROUND_STRATEGIES: Set<string>;
export type RoundStrategy = 'nearest' | 'up' | 'down' | 'to-zero';
/** @typedef {'nearest' | 'up' | 'down' | 'to-zero'} RoundStrategy */
/**
* @param {Node[]} args
* @return {Node}
*/
declare function simplifyRound(args: Node[]): Node;
export { ROUND_STRATEGIES, simplifyRound };