Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [#1538] Always return Promise<Blob> from ClipboardItem.getType() method #1539

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ezzatron
Copy link
Contributor

This PR changes ClipboardItem.getType() to always return a Promise<Blob>, even when the item was created with a plain string. This is intended to fix #1538.

@marchaos
Copy link

Any chance we can get this merged? Looks like there's a failing build, but not sure it's related to the changes here.

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.

ClipboardItem.getType() should return Promise<Blob>, not Promise<Blob | string>
2 participants