Skip to content

Commit 39345a5

Browse files
Added a missing Date to timestamp
1 parent c0fd1d5 commit 39345a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angularfire-start/src/app/services/chat.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { Router } from '@angular/router';
4343
type ChatMessage = {
4444
name: string | null,
4545
profilePicUrl: string | null,
46-
timestamp: FieldValue,
46+
timestamp: Date | FieldValue,
4747
uid: string | null,
4848
text?: string,
4949
imageUrl?: string

0 commit comments

Comments
 (0)