-
Notifications
You must be signed in to change notification settings - Fork 273
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
feat(ui5-message-strip): convert to Typescript #6248
Conversation
|
||
type DesignTypeAnnouncemnt = Record<MessageStripDesign, string>; | ||
|
||
/** |
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 jsdoc comment seems to be redundant since metadata is missing.
packages/main/src/MessageStrip.ts
Outdated
} | ||
|
||
_closeClick() { | ||
this.fireEvent("close", {}); |
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 empty object is redundant
packages/main/src/MessageStrip.ts
Outdated
import event from "@ui5/webcomponents-base/dist/decorators/event.js"; | ||
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js"; | ||
import languageAware from "@ui5/webcomponents-base/dist/decorators/languageAware.js"; | ||
import { ClassMap } from "@ui5/webcomponents-base/dist/types.js"; |
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.
add type
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.
It looks good to me. @ilhan007 @vladitasev could you check it too?
MessageStrip component migrated to TS.
Related to: #6080 #4337