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

fix(typescript): updated entry file for typescript consumption #104

Merged
merged 1 commit into from
May 10, 2017
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
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}