UNPKG

style-dictionary-utils

Version:
9 lines (8 loc) 336 B
import { Token } from 'style-dictionary'; /** * getValue * @description Returns the value of the design token, either token.value or token.$value * @param token StyleDictionary.DesignToken * @returns token value */ export declare const getValue: <T>(token: Token | Record<string, unknown>, original?: "original" | undefined) => T;