@terrazzo/token-tools
Version:
Various utilities for token types
7 lines • 310 B
TypeScript
export interface CustomTransformOptions {
/** Token $type */
$type: string;
}
/** Give a user pertinent feedback if they override a transform incorrectly */
export declare function validateCustomTransform(value: unknown, { $type }: CustomTransformOptions): void;
//# sourceMappingURL=transform.d.ts.map