6 lines
216 B
TypeScript
6 lines
216 B
TypeScript
|
export type TokenType = object;
|
||
|
export type DerivativeFunc<DesignToken extends TokenType, DerivativeToken extends TokenType> = (
|
||
|
designToken: DesignToken,
|
||
|
derivativeToken?: DerivativeToken,
|
||
|
) => DerivativeToken;
|