-
Notifications
You must be signed in to change notification settings - Fork 178
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
TypeScript: Convert output
package
#13504
Conversation
output
package
Size Change: +223 B (0%) Total Size: 2.77 MB
ℹ️ View Unchanged
|
Plugin builds for 53c46c3 are ready 🛎️!
|
@AnuragVasanwala @Swanand01 This here is a huge change to add more type safety to yet another package in the code base. While I'm mostly confident in the change, it would be really great if you could skim over it as well to see if anything stands out to you as incorrect or missing. |
export interface AudioResource | ||
extends Pick< | ||
Resource, | ||
'type' | 'id' | 'src' | 'mimeType' | 'isExternal' | 'isPlaceholder' | ||
> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This type is not 100% accurate because AudioResource
doesn't actually use any of these fields in the editor. It doesn't really extend Resource
. Something to fix in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@swissspidy I and @Swanand01 have gone through the PR. It is a quite extensive and as we have limited context, we were not able to verify everything.
Although, we didn't find anything odd or missing.
Looks good to us ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Summary
User-facing changes
Testing Instructions
This PR can be tested by following these steps:
Reviews
Does this PR have a security-related impact?
Does this PR change what data or activity we track or use?
Does this PR have a legal-related impact?
Checklist
Type: XYZ
label to the PRFixes #12089