Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
fix(typescript): updated entry file for typescript consumption (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-john authored and Kent C. Dodds committed May 10, 2017
1 parent 601b63e commit 2b88adf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,12 @@ function capitalize(s) {
return s.slice(0, 1).toUpperCase() + s.slice(1)
}

/*
* Fix importing in typescript after rollup compilation
* https://github.com/rollup/rollup/issues/1156
* https://github.com/Microsoft/TypeScript/issues/13017#issuecomment-268657860
*/
glamorous.default = glamorous

export default glamorous
export {ThemeProvider, withTheme}

0 comments on commit 2b88adf

Please sign in to comment.