@atlaskit/eslint-plugin-design-system
Version:
The essential plugin for use with the Atlassian Design System.
10 lines (9 loc) • 387 B
TypeScript
import { type ObjectExpression } from 'eslint-codemod-utils';
/**
* Given a node, translate the node into css key-value pairs and
* compare the output to the reference styles required to make a
* visually hidden element.
*
* @returns {number} A fraction between 0-1 depending on the object's likeness.
*/
export declare const getObjectLikeness: (node: ObjectExpression) => number;