Skip to content

Commit

Permalink
Add ThemedReactEmotionInterface alias for CreateStyled
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailrun committed May 26, 2018
1 parent e07828d commit db28a9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react-emotion/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
// TypeScript Version: 2.3

import {
CreateStyled,
Interpolation,
Expand All @@ -9,6 +11,8 @@ import {

export * from 'emotion';

export type ThemedReactEmotionInterface<Theme extends object> = CreateStyled<Theme>;

export {
CreateStyled,
Interpolation,
Expand Down

0 comments on commit db28a9f

Please sign in to comment.