Skip to content

Commit

Permalink
feat(gatsby-image): export TS interfaces of gatsby-image object types (
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod authored and pieh committed May 24, 2019
1 parent 5e54afe commit b3e306c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby-image/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react"

interface FixedObject {
export interface FixedObject {
width: number
height: number
src: string
Expand All @@ -11,7 +11,7 @@ interface FixedObject {
srcSetWebp?: string
}

interface FluidObject {
export interface FluidObject {
aspectRatio: number
src: string
srcSet: string
Expand Down

0 comments on commit b3e306c

Please sign in to comment.