@terrazzo/token-tools
Version:
Various utilities for token types
14 lines • 482 B
TypeScript
import type { TokenNormalized } from '../types.js';
export interface TransformJSValueOptions {
mode: string;
/** indent space count */
indent?: number;
/** initial indent level */
startingIndent?: number;
}
/**
* Convert token value to a JS string via acorn/astring.
* @deprecated
*/
export declare function transformJSValue<T extends TokenNormalized>(token: T, { indent, startingIndent }: TransformJSValueOptions): string;
//# sourceMappingURL=index.d.ts.map