-
-
Notifications
You must be signed in to change notification settings - Fork 130
feat(web): remove 'export default' to eliminate more aliases 🎼 #15401
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
Conversation
Fixes: #15292 Test-bot: skip
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
darcywong00
left a comment
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
| code += '\n' + LMLayerWorkerSourcemapComment; | ||
| // } | ||
| let blob = new Blob([code], { type: 'text/javascript' }); | ||
| const blob = new Blob([code], { type: 'text/javascript' }); |
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.
Sneaking in a different change 😉 I'll allow it
| export type PhoneKeyTipOrientation = 'top' | 'bottom'; | ||
|
|
||
| export default class KeyTip implements KeyTipInterface { | ||
| export class PhoneKeyTip implements KeyTip { |
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.
Can we mention this rename in the PR description?
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.
Good idea.
mcdurdin
left a comment
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.
Two comments for a follow-up PR -- best not to add to this already large set of changes in this PR. LGTM, great to eliminate this source of confusion, looks like most default exports were not renamed but it was a fragile pattern!
Co-authored-by: Marc Durdin <[email protected]>
Also rename
KeyTiptoPhoneKeyTip.Fixes: #15292
Test-bot: skip