Skip to content

Commit 47ae0f7

Browse files
committed
Error: Don't use object as a type. The object type is currently hard to use ([see this issue](microsoft/TypeScript#21732)).
1 parent 3324e27 commit 47ae0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Picture/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react'
33
interface Props {
44
srcset: string[]
55
alt: string
6-
style?: object
6+
// style?: object
77
width: string
88
height: string
99
lazy?: boolean

0 commit comments

Comments
 (0)