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

Add additional Media types for worksheet and workbook (Improves type of Media interface) #2630

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

devcomfort
Copy link

Summary

This change adds additional Media types for worksheet and workbook, in order to better reflect the actual object types that are used in these contexts.

Test plan

The following tests have been added to verify the changes:

  • Test that the new Media types can be created and used correctly.
  • Test that the new Media types are compatible with the existing Media type.

Related to source code (for typings update)

The following files have been changed:

Other changes

Improved type of Media interface.
Changed type of type property from string to "image" | "background".

* Changed type of `type` property from `string` to `"image" | "background"`.
This change adds additional Media types for worksheet and workbook, in order to better reflect the actual object types that are used in these contexts.
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.

None yet

1 participant