diff options
Diffstat (limited to 'packages/instant/src/style')
-rw-r--r-- | packages/instant/src/style/util.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/style/util.ts b/packages/instant/src/style/util.ts index 7cf13133f..c9df0f834 100644 --- a/packages/instant/src/style/util.ts +++ b/packages/instant/src/style/util.ts @@ -1,6 +1,7 @@ +import { ObjectMap } from '@0xproject/types'; import * as _ from 'lodash'; -export const cssRuleIfExists = (props: any, rule: string): string => { +export const cssRuleIfExists = (props: ObjectMap<any>, rule: string): string => { const camelCaseRule = _.camelCase(rule); const ruleValueIfExists = props[camelCaseRule]; if (!_.isUndefined(ruleValueIfExists)) { |