diff --git a/src/app/components/shared/comment/comment.component.ts b/src/app/components/shared/comment/comment.component.ts
index 131375367ae2fef9218b07cb26e70670362976d9..9ce76d8696d34b723ece87dc5b3b57582e545921 100644
--- a/src/app/components/shared/comment/comment.component.ts
+++ b/src/app/components/shared/comment/comment.component.ts
@@ -1,4 +1,5 @@
 import { Component, Input, OnInit } from '@angular/core';
+import { Comment } from '../../../models/comment';
 
 @Component({
   selector: 'app-comment',
@@ -6,7 +7,7 @@ import { Component, Input, OnInit } from '@angular/core';
   styleUrls: ['./comment.component.scss']
 })
 export class CommentComponent implements OnInit {
-  @Input() comment;
+  @Input() comment: Comment;
   constructor() { }
 
   ngOnInit() {