This repository has been archived on 2024-09-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
front/node_modules/@mui/system/cssVars/prepareTypographyVars.d.ts
2024-09-18 13:34:19 -03:00

9 lines
363 B
TypeScript

type RecordPropertyNames<T> = {
[K in keyof T]: T[K] extends Function ? never : T[K] extends Record<string, any> ? K : never;
}[keyof T];
export type ExtractTypographyTokens<T> = {
[K in RecordPropertyNames<T>]: string;
};
export default function prepareTypographyVars<T extends Record<string, any>>(typography: T): ExtractTypographyTokens<T>;
export {};