Files
axp-ts/src/notification.ts
T

15 lines
260 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
constructor(args: {code: string, text: string }) {
this.code = args.code
this.text = args.text
}
}