style-dictionary-utils
Version:
Utilities to use in your style dictionary config
12 lines (11 loc) • 376 B
TypeScript
import { TransformedToken } from 'style-dictionary/types';
/**
* @name isDeprecated
* @type filter
* @description only returns tokens with $deprecated = true or $deprecated = string
*/
export declare const isDeprecatedFilter: (token: TransformedToken) => boolean;
export declare const isDeprecated: {
name: string;
filter: (token: TransformedToken) => boolean;
};