Skip to content
Permalink
Browse files

fix issue with private variables

Property is private and only accessible within class
  • Loading branch information
amejiarosario committed Aug 7, 2018
1 parent 4ef542f commit 33e2b3e268789de449ecbf521bc3501e649f8d07
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/app/todo/todo.component.ts
@@ -10,10 +10,10 @@ import { TodoService } from './todo.service';
providers: [TodoService]
})
export class TodoComponent implements OnInit {
private todos;
private activeTasks;
private newTodo;
private path;
public todos;
public newTodo;
public activeTasks;
public path;

constructor(private todoService: TodoService, private route: ActivatedRoute) { }

0 comments on commit 33e2b3e

Please sign in to comment.
You can’t perform that action at this time.