From 0863bbad0744ada6db5d19b10075b738f4c65de1 Mon Sep 17 00:00:00 2001 From: Tom Crockett Date: Mon, 11 Jun 2018 09:46:16 -0700 Subject: [PATCH] Re-add default parameter of string for WithStyles (#11808) --- packages/material-ui/src/styles/withStyles.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/styles/withStyles.d.ts b/packages/material-ui/src/styles/withStyles.d.ts index d5d420c40cd6eb..f105b15524f383 100644 --- a/packages/material-ui/src/styles/withStyles.d.ts +++ b/packages/material-ui/src/styles/withStyles.d.ts @@ -38,7 +38,7 @@ export interface WithStylesOptions export type ClassNameMap = Record; -export type WithStyles = Partial & { +export type WithStyles = Partial & { classes: ClassNameMap< T extends string ? T