-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[typescript] Improve type definition for withStyles (#8320)
* Improve type definition for withStyles * Capture the props enhancer type as WithStyles * Reexport WithStyles from styles * Reexport WithStyles from root * Update tests * Provide defaults for Names type parameter for backwards compat * Minor refactors * Default type argument * Remove unnecessary StyleRules annotation * Simplify definition of StyleRules, add semicolons * Use anonymous class in DecoratedComponent testcase
- Loading branch information
1 parent
8c84d42
commit 4cdfc94
Showing
5 changed files
with
49 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters