Explorar o código

improve types

kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
bcc78b199b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
 }
 
 /*