Commit 41a1626ddb58e1e81f3aaae85dead02c15b92c24

Authored by Ábner Oliveira
1 parent 20e8fa38

added typing to article in CmsComponent

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/cms/cms.component.ts
@@ -16,7 +16,7 @@ import {Notification} from "../components/notification/notification.component"; @@ -16,7 +16,7 @@ import {Notification} from "../components/notification/notification.component";
16 @Inject(ArticleService, ProfileService, "$state", Notification) 16 @Inject(ArticleService, ProfileService, "$state", Notification)
17 export class Cms { 17 export class Cms {
18 18
19 - article: any = {}; 19 + article: noosfero.Article = <noosfero.Article>{};
20 20
21 constructor(private articleService: ArticleService, 21 constructor(private articleService: ArticleService,
22 private profileService: ProfileService, 22 private profileService: ProfileService,