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

Added typing #87

Closed
wants to merge 4 commits into from
Closed

Added typing #87

wants to merge 4 commits into from

Conversation

OoDeLally
Copy link
Collaborator

@OoDeLally OoDeLally commented Aug 1, 2024

Description

Please include a summary of the change and which issue is fixed if any. Please also include relevant motivation and context (a screenshot is appreciated).

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I've read & comply with the contributing guidelines
  • I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • I have made corresponding changes to the documentation (README.md).
  • I've checked my modifications for any breaking changes.

| 'renderer_no_toolbar'
| 'renderer_partial';

interface Options {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small question on the Options type: will we be able to override it from the Shadow repo? There are a few more options that are set in the Shadow player compared to the Geny player.

index.d.ts Outdated
giveFeedbackLink?: string;
}

type DeviceRenderer = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this isn't exactly the DeviceRenderer, but rather the API? Does this typing handle the fact that some methods can be available or not depending on which plugins were instanciated?

@OoDeLally
Copy link
Collaborator Author

Closed in favor of #88

@OoDeLally OoDeLally closed this Aug 2, 2024
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.

2 participants