فهرست منبع

improve types

kaori 4 سال پیش
والد
کامیت
bcc78b199b
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/app/src/interfaces/in-app-notification.ts

+ 2 - 2
packages/app/src/interfaces/in-app-notification.ts

@@ -3,13 +3,13 @@ import { IUser } from './user';
 import { IPage } from './page';
 
 export interface IInAppNotification {
-  user: string
+  user: IUser
   targetModel: 'Page'
   target: IPage
   action: 'COMMENT' | 'LIKE'
   status: string
   actionUsers: IUser[]
-  createdAt: string
+  createdAt: Date
 }
 
 /*