Blame view

天文台pc/tianwentai-ui/node_modules/@mui/system/cssVars/prepareTypographyVars.d.ts 352 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
  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 {};