Skip to content

Commit 118d04a

Browse files
authored
Merge pull request #44 from mikebars/master
Change React.Element to React$Element as Element is not a named export of the React flow module
2 parents dede650 + cb0b9eb commit 118d04a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/createApiWithCss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type CssChunksHash = {
88
[key: string]: string
99
}
1010

11-
type StatelessComponent = () => React.Element<*>
11+
type StatelessComponent = () => React$Element<*>
1212
type ObjectString = {
1313
toString: () => string
1414
}

0 commit comments

Comments
 (0)