UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

9 lines (8 loc) 392 B
import type { TransformedToken } from 'style-dictionary/types'; /** * @description Checks if token comes from a specific file * @param token [TransformedToken](https://github.com/amzn/style-dictionary/blob/main/types/TransformedToken.d.ts) * @param files - array of file paths * @returns boolean */ export declare const isFromFile: (token: TransformedToken, files: string[]) => boolean;