Skip to content

Commit

Permalink
fix: Fixed prfixAll types error
Browse files Browse the repository at this point in the history
  • Loading branch information
myxvisual committed May 22, 2018
1 parent 74a89bc commit 0c720bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/prefixAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Prefixer = require("inline-style-prefixer");

import IS_NODE_ENV from "./nodeJS/IS_NODE_ENV";

const prefixAll = (userAgent?: string | false) => {
function prefixAll(userAgent?: string | false): (style?: React.CSSProperties) => React.CSSProperties {
const isServer = IS_NODE_ENV;

if (userAgent === false) {
Expand Down

0 comments on commit 0c720bf

Please sign in to comment.