init
This commit is contained in:
14
src/notification.ts
Normal file
14
src/notification.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user