Files
axp-ts/src/notification.ts
T

15 lines
261 B
TypeScript
Raw Normal View History

2023-07-11 09:53:08 +03:00
export type TNotificationItem = {
code: string
text: string
}
export class NotificationItem implements TNotificationItem {
code: string
text: string
2023-09-14 18:19:36 +03:00
constructor(args: { code: string; text: string }) {
2023-07-11 09:53:08 +03:00
this.code = args.code
this.text = args.text
}
}