Skip to content

Conversation

@jclaessens97
Copy link

Comparing the output of an image of type Image to the interface Image, type and altText are missing:

output:

image: {
    type: 'image',
    read: [Function: read],
    readAsArrayBuffer: [Function: readAsArrayBuffer],
    readAsBase64String: [Function: readAsBase64String],
    readAsBuffer: [Function: readAsBuffer],
    altText: '6,297,900+ Photo Image Art Stock Photos, Pictures & Royalty-Free Images -  iStock',
    contentType: 'image/jpeg'
  }

I've added those 2 types to the index.d.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant