Skip to content

Commit 3c896df

Browse files
authored
Merge branch 'master' into typing/react-emotion
2 parents 7d9feca + 764ee6d commit 3c896df

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: node_js
22

33
node_js:
4-
- "8"
4+
- "lts/*"
5+
- "node"
56

67

78
script:

docs/typescript.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,7 @@ type StyledComponentProps = {
134134
} & ComponentProps
135135
// ^^^ You will need this
136136

137-
const StyledComponent =
138-
styled <
139-
StyledComponentProps >
140-
Component`
137+
const StyledComponent = styled<StyledComponentProps>(Component)`
141138
color: red;
142139
background: ${props => props.bgColor};
143140
`

0 commit comments

Comments
 (0)