Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/material-ui/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface Color {
*
* @internal
*/
export type Omit<T, K extends string> = Pick<T, Exclude<keyof T, K>>;
export type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

/**
* `T extends ConsistentWith<T, U>` means that where `T` has overlapping properties with
Expand Down