[misc]: fix module imports being broken from esModuleInterop missing

This commit is contained in:
41666 2019-06-04 18:10:25 -05:00
parent 193ad93a7d
commit 06cc7d5e7d
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
import * as React from 'react'
import { shallow } from 'enzyme'
import * as sinon from 'sinon'
import sinon from 'sinon'
import 'jest-styled-components'
import Button from './Button'

View file

@ -1,4 +1,4 @@
import * as Color from 'color'
import Color from 'color'
export const color = (i: Color | string) => {
return new Color(i)

View file

@ -4,7 +4,7 @@ import styled from 'styled-components'
export type ButtonProps = {
children: React.ReactChild
href: string
href?: string
}
const Button = styled.a`