Commit 41a1626ddb58e1e81f3aaae85dead02c15b92c24
1 parent
20e8fa38
Exists in
master
and in
31 other branches
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 | 16 | @Inject(ArticleService, ProfileService, "$state", Notification) |
| 17 | 17 | export class Cms { |
| 18 | 18 | |
| 19 | - article: any = {}; | |
| 19 | + article: noosfero.Article = <noosfero.Article>{}; | |
| 20 | 20 | |
| 21 | 21 | constructor(private articleService: ArticleService, |
| 22 | 22 | private profileService: ProfileService, | ... | ... |