Skip to content

Commit

Permalink
Remove the return on stop example
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickglt committed Jan 11, 2017
1 parent 39967f6 commit 9ee2aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Cat {

public static stopIt: boolean = false

@Interval(1000, { stop: self => return self.stopIt })
@Interval(1000, { stop: self => self.stopIt })
public static miaow() {
console.log('Miaaooow')
Cat.stopIt = true
Expand Down

0 comments on commit 9ee2aba

Please sign in to comment.